-
Notifications
You must be signed in to change notification settings - Fork 58
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
terminate called after throwing an instance of 'c10::Error' #9
Comments
Hi, Have you made the model directory deploy ready? Check the instructions here. After that you should have a .pytorch and a .onnx model files in the pretrained directory! Let me know if it works like that. Also, I haven't tried building the workspace with catkin_make, because we use catkin internally, but if you want to give the build a shot let me know how that works. You may want to either clean your workspace or start from a fresh one with just this package inside. If you have tensorrt you can greatly benefit from running the inference natively in your pc (docker has some performance issues with gpus, I havent been able to make it run 100% of the speed of my native linux install) |
I am back! While trying to convert model I get:
are you trying to empty the log directory? 2nd try:
I guess it's ok:
and:
How to get results? In python version I see
Finally, I am able to run it using python. |
Hi,
I am trying to run segmentation using pretrained model.
I am using docker on Ubuntu 18.04 with GPU.
nvidia-smi works fine (but whole gpu mem is already used for some training in the background)
In docker:
I get:
Anything obvious?
Is it related to no mem on GPU?
I tried also with
CUDA_VISIBLE_DEVICES=''
I was looking for an example, how to use pretrained models, but haven't found any instructions.
I am finally going to use these models and present results on YT.
I will be very grateful for any help.
BTW, I am using docker because I have ROS1 with
catkin_make
and nocatkin
command.The text was updated successfully, but these errors were encountered: