decord icon indicating copy to clipboard operation
decord copied to clipboard

Segmentation fault when using torch together with decord

Open xiaosu-zhu opened this issue 11 months ago • 3 comments

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.

opencv-python-headless 4.10.0.84
decord 0.6.0

I try to import two libs in a python script:

import cv2
import decord

OR 

import decord
import cv2

No matter which order I import two libs, both of them lead to Segmentation fault (core dumped) crash, without any other logs.

xiaosu-zhu avatar Oct 30 '24 02:10 xiaosu-zhu