-
Notifications
You must be signed in to change notification settings - Fork 19
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
torch.jit.frontend.NotSupportedError: slicing multiple dimensions at the same time isn't supported yet #6
Comments
It seems that |
thank you in advance. the error occured:
File "/home/yuting/.pyenv/versions/env/lib/python3.6/site-packages/torchvision/models/detection/faster_rcnn.py", line 13, in
|
So the problem is with torch (or torchvision) version. I used the following packages all installed with pip:
Please try once again with these versions. |
thank you for your quick help! I will have a try soon and have a look. |
thank you in advance. Traceback (most recent call last): |
Did you recompile the library after reinstalling packages? |
yes. after installing packages, I do the command line "cd lib" and "sh make.sh" to compile the code. then run the extraction command "python extract_features.py --image_dir /home/yuting/multi30k/clone/image/test_2017_flickr --out_dir features" the error message is also as following: |
Looks like CUDA installation problem. Make sure you have CUDA 9.0 installed properly (guide) and check that you have correct paths in make.sh file. If it doesn't help, please refer to original faster-rcnn repo, I used their source code and installation scripts. |
thank you so much. |
Yes, it works only with cuda 9.0 |
@violetteshev I am planning to use your repo to get the bottom up features. My machine has CUDA 10.1 and pytorch version 1.5.0. Can you suggest what issues might occur, or you would have faced, if I try to upgrade your repo to the version on my machine. Would there be some api functionality, etc. or there are some libraries that your use which specifically need CUDA 9.0. Just wanted to take your advice before I start trying from my side, to desist from trying if it is not possible with your repo. |
Hi, I used this faster rcnn implementation, and it only supports pytorch-0.4.0. They now have a branch that supports pytorch-1.0, so you can try to adjust the code. Or I'd suggest to use other implementations, like here the authors provided a docker image to run original caffe model. |
when i extracted the features and boxes, i received the error message following. would you please help me to find the reason? thanks a lot.
error message:
raise NotSupportedError(base.range(), "slicing multiple dimensions at the same time isn't supported yet")
torch.jit.frontend.NotSupportedError: slicing multiple dimensions at the same time isn't supported yet
proposals (Tensor): boxes to be encoded
"""
The text was updated successfully, but these errors were encountered: