manuelruder / artistic-videos

Torch implementation for the paper "Artistic style transfer for videos"
Other
1.75k stars 252 forks source link

Gray Screen or Garbled Mess is rendered out #56

Open YogaFlame opened 6 years ago

YogaFlame commented 6 years ago

I have everything working correctly (I think) but when it comes time to render out the final PNG frames, the first several frames are gray then the rest are Garbled mess of pixels, bright colors, like a huge graphical glitch. I'm not at my computer right now so I can post a picture later but just know that it looks... wrong.

I'm using the same video file, I checked the .ppm files it made and they look fine. I've tried different artistic jpg files but I get the same error result as above.

I'm on Ubuntu 16.04 with a GTX 1070 8GB. Have Cuda 8 installed. Using cudnn. I'm only running the basic script "stylizeVideo.sh "

Each frame is taking about 30 seconds to process. They look wrong (obviously) but wondering if that's an appropriate render time, too.

I'm wondering if there's a sweet spot for the type of artistic image and/or video? Current video (well, ppm sequence) is 960x540. Let me know if I need to provide further info or if anyone has any suggestions. Thanks!

YogaFlame commented 6 years ago

I get a gray screen for about the first 6 frames then the rest look like this: out-0008

ProGamerGov commented 6 years ago

@YogaFlame That looks like what happens when you use a negative content weight.

admsyn commented 6 years ago

Hey all, I was experiencing the same thing and it seems to have been something to do with using ProRes input. Re-encoding to h.264 before creating the ppm files gave me non-glitched output.