how to run the demo
SuGuRuTaKaHaShi105 opened this issue · 19 comments
I am a Japanese university student and I am impressed by your work.
"Data preparation" has been completed. However, when I run "bash tools/code_for_demo/demo.sh" in the demo section, it asks for a pre-trained model. I downloaded "instblink_r50.pth" in the "Inference & Evaluation" section and tried to run the demo again, but it did not work. What is the problem?
Thanks for your appreciation. Can you provide the specific error message?
It seems that the path of the checkpoint file is not correct so the code can not find it. You should check "tools/code_for_demo/video_inference.py", line-22, and change it to the correct path on your side.
Normally, instblink_r50.pth is a file, not a directory. But in your case, it seems to be a directory because you can use the ls command.
I also thought that 'instblink_r50.pth' was a file, but when I downloaded it from Google Drive it was a directory.
I just downloaded from Google Drive and it is a file. Maybe you can try again to see if the issue could be addressed.
I've tried several times and it is a folder. The contents are a data folder, a date.pkl file, and a version file.
What OS are you using?
When downloaded it becomes a directory.
I downloaded using Windows. Does the "wget" command work for Linux?
I cannot "wget" command, because I cannot get URL.
Please tell me "wget" command. For example "wget https:// ~~~~~~".
You can try:
wget https://drive.google.com/file/d/1kRx_pPpOwAk9D6O3M5Ed7vyAqkZbCh83/view?usp=sharing
What about this?
wget https://drive.google.com/uc?export=download&id=1kRx_pPpOwAk9D6O3M5Ed7vyAqkZbCh83
Maybe it is because the file is a little bit large. Sorry, currently I have no means to check the exact command for downloading. The URL is correct. You can look on the Internet to see if there is a good solution.
The problem was that the file was large.
I split the file, reduced the size, and downloaded it successfully.
Thank you so much. If there are any other problems, please advise.