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
I found when creating a cuda tensor DIRECTLY AFTER torch import and then import the decord, all things will be fine.
If you import decord ahead and create any cuda tensor, a Segmentation fault will immediately throw out.
xiaosu-zhu
changed the title
Segmentation fault when using cv2 together with decord
Segmentation fault when using torch together with decord
Oct 30, 2024
EDIT: The root cause of Segmentation fault is from torch, not cv2, please see the correction below.
I have installed opencv-python-headless and decord together. The version info is listed below.
I try to import two libs in a python script:
No matter which order I import two libs, both of them lead to
Segmentation fault (core dumped)
crash, without any other logs.The text was updated successfully, but these errors were encountered: