googleinterns / IBRNet

Apache License 2.0
486 stars 52 forks source link

Downloading RealEstate10K frames fails #10

Closed violetamenendez closed 2 years ago

violetamenendez commented 2 years ago

Hi,

I am trying to train the network but I haven't been able to download the RealEstate10K frames from the download script. It doesn't give me any errors and the output says that they are downloaded, but none of them are and they all go into failed_videos_train.txt.

Is there a different way I could download these frames to reproduce the results?

Thank you

PrinceRay7 commented 2 years ago

I just fix the problem on this scipt and it works now. if it goes to the failed~ file then it's because pytube doesn't work. It's occasional and just try again or use vpn instead. I did encounter that either, but some of the videos can be downloaded. So if "all" go to the failed file, then probably you need to fix something. if it didn't go to the failed file but the frames are still empty, check if the ffmpeg is successfully installed. there is a code issue here about the videoname, just change the -2 to -1 as below videonamecandinate.split('.')[-1] == '/current' + mode

hope I can help you on this one. It's quite weird that no one explain on this realestate10k downloading problem. If you still have any problems on this one feel free to contact me

qianqianwang68 commented 2 years ago

Thanks, @PrinceRay7! Do you still encounter issues with downloading? @violetamenendez

violetamenendez commented 2 years ago

That fixed it! Thank you very much for sharing your fix @PrinceRay7 . And thanks for checking @qianqianwang68 , it is downloading now succesfully

loichan-tw commented 2 years ago

I confronted the same issue. All videos failed to download. Fix the problem by updating the pytube.

The error code, that printed out manually, is [Pytube: urllib.error.HTTPError: HTTP Error 410: Gone]

Try to upgrade, there is a fix in version 11.0.0 or above: python -m pip install --upgrade pytube

ShengCN commented 9 months ago

I confronted the same issue. All videos failed to download. Fix the problem by updating the pytube.

The error code, that printed out manually, is [Pytube: urllib.error.HTTPError: HTTP Error 410: Gone]

Try to upgrade, there is a fix in version 11.0.0 or above: python -m pip install --upgrade pytube

This works for me.