This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

ProPainter Vapoursynth filter
#81
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
Reply
#82
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


Attached Files Thumbnail(s)
   
Reply
#83
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


Attached Files
.zip   small_logo.zip (Size: 2,42 MB / Downloads: 19)
Reply
#84
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


Attached Files Thumbnail(s)
   
Reply
#85
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


Attached Files Thumbnail(s)
       
Reply
#86
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
Reply
#87
I attached: script, clip, mask

Dan


Attached Files
.zip   vclip_small.zip (Size: 12,6 MB / Downloads: 18)
Reply
#88
Now it works for me too. Huh
Strange, must be some cosmic rays Angel
Reply
#89
(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
Reply
#90
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?


Attached Files Thumbnail(s)
   
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)