Selur's Little Message Board
ProPainter Vapoursynth filter - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Talk, Talk, Talk (https://forum.selur.net/forum-5.html)
+--- Forum: Small Talk (https://forum.selur.net/forum-7.html)
+--- Thread: ProPainter Vapoursynth filter (/thread-3720.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11


RE: ProPainter Vapoursynth filter - Selur - 11.06.2024

Then I must have messed up the naming.
Quote:also the version of vsdeoldify is 3.5.3 and not 4.0.0.
and the version of vsrealesrgan is 4.1.0 and not 5.0.0
yes, those are older versions.

Will release a new version on the weekend, where I remove R65. Smile

Cu Selur


RE: ProPainter Vapoursynth filter - Selur - 22.06.2024

Is there a min resolution for ProPainters input?
Using vclip.avi as source (320x288) and the attached mask, I get a broken output.
[Image: grafik.png]
(I first thought that it was some interference issue with BasicVSR++, but I get basically the same output when not using it.)


Cu Selur


RE: ProPainter Vapoursynth filter - Dan64 - 22.06.2024

Unfortunately ProPainter in this case cannot remove the mask. 
The output represent the frame when the inference fails to converge.

It works for the attached video (same video but with a small logo on the bottom right corner).  

Dan


RE: ProPainter Vapoursynth filter - Selur - 23.06.2024

Ah, okay, so from the look of it the mask/image resolution must at least have a width of 512 pixels.
Resizing the video to 512x420 and then applying a resized mask works fine. Smile
[Image: working.png]

Cu Selur


RE: ProPainter Vapoursynth filter - Dan64 - 23.06.2024

It works even with your original avi clip.

The problem was your mask that was not of the same size.
Using the correct mask you get this result:

[Image: attachment.php?aid=2582]

Try the attached mask and should work also on your side. 

Dan


RE: ProPainter Vapoursynth filter - Selur - 23.06.2024

Only difference I see between your png and mine is that mine uses 1bit and yours uses 24bit colors.
Using your mask and the clip it still does not work for me.
clip = ProPainter(clip=clip, img_mask_path="C:/Users/Selur/Desktop/mask_352x288.png", length=500)
[Image: grafik.png]
You must be doing something different from me. Tongue
What does your script look like?

Cu Selur


RE: ProPainter Vapoursynth filter - Dan64 - 23.06.2024

I attached: script, clip, mask

Dan


RE: ProPainter Vapoursynth filter - Selur - 23.06.2024

Now it works for me too. Huh
Strange, must be some cosmic rays Angel


RE: ProPainter Vapoursynth filter - Dan64 - 23.06.2024

(23.06.2024, 10:29)Selur Wrote: Now it works for me too.  Huh
Strange, must be some cosmic rays  Angel

I do agree with you. 
I still don't understand why is working. 
It seems something related to "png" format used to save mask.


To create the "working" mask, I used:

1) Corel Paint Shop Pro
2) Created a new image of size 352x288 (resolution 300 pixel/inch)
3) Image characteristics: Raster Background, Color Black (depth: RGB 8 bits/channel)
4) Added the mask
5) Saved the file as PNG: Noninterlaced, Optimized palette

Dan


RE: ProPainter Vapoursynth filter - Selur - 27.06.2024

Did you ever try to use ProPainter for outpainting? Tongue
[Image: grafik.png]
[Image: grafik.png]
[Image: grafik.png]
[Image: grafik.png]
[Image: grafik.png]
I'm wondering whether changing some of the values can create better results,.... => nope, even length=500, neighbor_length=100, ref_stride=1, raft_iter=100 doesn't help

Cu Selur

Ps.: just updated the deoldify test download, since I noticed the 'Interference' didn't do a thing. Smile
PPs.: does outpainting require vs-propainter to be adjusted in some way, or should this work?