You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After making the necessary institutions, I ran demo.py. The error I encountered is this> FileNotFoundError: [Errno 2] No such file or directory: 'pretrained / back2future_kitti.pth.tar'. When I look at it with normal access it gives an error > an error occurred while loading the archive. Is the error caused by the file's corruption?
Secondly, the output I got when I ran the line you gave as test > python3 test_back2future.py --pretrained-flow path / to / pretrained / model --kitti-dir path / to / kitti / 2015 / root
Traceback (most recent call last):
File "test_back2future.py", line 8, in
from path import Path
ImportError: cannot import name 'Path'
What solution can I apply for this?
Thank you from now. @anuragranj@JJanai
The text was updated successfully, but these errors were encountered:
Hi
the first error is caused because we forgot to change the file name in the code.
Please change the file path to 'pretrained/b2f_kitti.pth.tar' and then it should work.
In addition, please install the path package as suggested by Anurag.
I hope this will solve your problems.
Best
Joel
Thank you so much @JJanai@anuragranj .
I didn't think the filename would be different. I did what you said and the mistakes are gone. But now I'm getting cuda error. I wonder what I need to solve this?
RuntimeError: cuda runtime error (48) : no kernel image is available for execution on the device at /opt/conda/conda-bld/pytorch_1518244421288/work/torch/lib/THC/generic/THCTensorMathPairwise.cu:40
After making the necessary institutions, I ran demo.py. The error I encountered is this> FileNotFoundError: [Errno 2] No such file or directory: 'pretrained / back2future_kitti.pth.tar'. When I look at it with normal access it gives an error > an error occurred while loading the archive. Is the error caused by the file's corruption?
Secondly, the output I got when I ran the line you gave as test > python3 test_back2future.py --pretrained-flow path / to / pretrained / model --kitti-dir path / to / kitti / 2015 / root
Traceback (most recent call last):
File "test_back2future.py", line 8, in
from path import Path
ImportError: cannot import name 'Path'
What solution can I apply for this?
Thank you from now. @anuragranj @JJanai
The text was updated successfully, but these errors were encountered: