Skip to content
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

Segmentation fault when running demo on ubuntu #14

Closed
tomriddle54 opened this issue Oct 22, 2019 · 1 comment
Closed

Segmentation fault when running demo on ubuntu #14

tomriddle54 opened this issue Oct 22, 2019 · 1 comment

Comments

@tomriddle54
Copy link

I think online_demo will only work for jetson nano how can i run this on my laptop I install all the packages on laptop getting this error.

Open camera...
<VideoCapture 0x7f4e749c3270>
Build transformer...
/media/mustafa/ubuntu_backup/anaconda3/envs/video_action/lib/python3.7/site-packages/torchvision/transforms/transforms.py:210: UserWarning: The use of the transforms.Scale transform is deprecated, please use transforms.Resize instead.
  warnings.warn("The use of the transforms.Scale transform is deprecated, " +
Build Executor...
/media/mustafa/ubuntu_backup/Projects/video_action/temporal-shift-module/online_demo/mobilenet_v2_tsm.py:95: TracerWarning: Converting a tensor to a Python index might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
  x1, x2 = x[:, : c // 8], x[:, c // 8:]
Segmentation fault```
@tomriddle54
Copy link
Author

tomriddle54 commented Oct 22, 2019

Solved it by pip install onnx==1.5.0 now after this it got stuck on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant