jiupinjia / SkyAR

Official Pytorch implementation of the preprint paper "Castle in the Sky: Dynamic Sky Replacement and Harmonization in Videos", in arXiv:2010.11800.
https://jiupinjia.github.io/skyar/
2.01k stars 248 forks source link

Input Error #13

Closed will0000000 closed 3 years ago

will0000000 commented 3 years ago

I have a problem while runniing the project. there is a ./torch folder under my c drive.but my other programs are under F,i dont know if it has anything with it. :(

QQ截图20201125130131

jiupinjia commented 3 years ago

Hi @will0000000, which version of PyTorch are you using? Can you try switching the mode 'bicubic' of line 83 in skymagic.py to 'bilinear'? Tell me whether it works fine. Thank you.

will0000000 commented 3 years ago

非常非常抱歉我来晚了,同时非常感谢你的回复。我在这个环境中使用的是pytorch1.0.0,我把bicubic改成bilinear后它可以顺利运行了。但是它好像卡在了最后一步,我怀疑是我电脑配置的原因。 QQ截图20201206110453

jiupinjia commented 3 years ago

Hi @will0000000, it seems your video has been processed successfully. You can check out your repo dir and see if there is a demo.mp4 result file. BTW, I also notice that there might be another problem that your sky area is too small, as shown in your command window.

will0000000 commented 3 years ago

啊哈哈我知道了。非常感谢你!现在没有任何问题了。

jiupinjia commented 3 years ago

Cheers!