Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Something wrong with results of video inpainting demo. #9

Closed
JOyer193 opened this issue Feb 4, 2021 · 4 comments
Closed

Something wrong with results of video inpainting demo. #9

JOyer193 opened this issue Feb 4, 2021 · 4 comments

Comments

@JOyer193
Copy link

JOyer193 commented Feb 4, 2021

I used the following command to test.
python tools/video_inpaint.py --frame_dir ./demo/frames --MASK_ROOT ./demo/masks --img_size 512 832 --LiteFlowNet --DFC --ResNet101 --Propagation

Results turn out to be really bad. Even running deepfill1 independently provides better results than video inpainting.

00000
00004

@JOyer193 JOyer193 changed the title Something thing wrong with results of video inpainging demo. Something wrong with results of video inpainging demo. Feb 4, 2021
@lukas-blecher
Copy link
Owner

Hi,

  • How many frames are in the frames and masks directories? The more the better is the result.
  • What PyTorch version are you using?
  • How many propagation iterations does it need to until the process stops?

It has to be one of these because the comand
python tools/video_inpaint.py --frame_dir ./demo/frames --MASK_ROOT ./demo/masks --img_size 512 832 --LiteFlowNet --DFC --ResNet101 --Propagation
still works fine for me.

@lukas-blecher lukas-blecher changed the title Something wrong with results of video inpainging demo. Something wrong with results of video inpainting demo. Feb 4, 2021
@JOyer193
Copy link
Author

JOyer193 commented Feb 5, 2021

Hi,

  • How many frames are in the frames and masks directories? The more the better is the result.
  • What PyTorch version are you using?
  • How many propagation iterations does it need to until the process stops?

It has to be one of these because the comand
python tools/video_inpaint.py --frame_dir ./demo/frames --MASK_ROOT ./demo/masks --img_size 512 832 --LiteFlowNet --DFC --ResNet101 --Propagation
still works fine for me.

Thanks for your fast reply.

  • I used all 80 frames and mask from those directories.
  • Pytorch 1.3 and cupy-cuda100
  • It seems only 80 frames have been processed within 2 iterations.

@lukas-blecher
Copy link
Owner

I'm guessing you are using the standard models: sintel, resnet101_movie and imagenet_deepfill?
That's very weird. It should produce the same results I get.
When I run it, it also only takes one propagation iteration to stop.
Did you change any other default settings in the code?

@JOyer193
Copy link
Author

JOyer193 commented Feb 9, 2021

I'm guessing you are using the standard models: sintel, resnet101_movie and imagenet_deepfill?
That's very weird. It should produce the same results I get.
When I run it, it also only takes one propagation iteration to stop.
Did you change any other default settings in the code?

It seems like my environment causes the problem. I used exactly the same code in a new environment, It works alright.

@JOyer193 JOyer193 closed this as completed Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants