megvii-research / CADDM

Official implementation of ID-unaware Deepfake Detection Model
Apache License 2.0
135 stars 19 forks source link

ImportError: /lib/data_preprocess/utils/jpegpy/_jpegpy.so: undefined symbol: jpeg_destroy_decompress #43

Open funguy2210 opened 3 months ago

funguy2210 commented 3 months ago

Dear authors, I thank you a lot for your contribution to this field and for providing the resource for us, I am new to this field and after encountering some problems that I resolved based on the issues issued here, I got to the testing part; but when I run the command you specified in the readme; I got the following error Traceback (most recent call last): File "/media/workstation/DATA/CADDM-master/test.py", line 15, in from dataset import DeepfakeDataset File "/media/workstation/DATA/CADDM-master/dataset.py", line 10, in from lib.data_preprocess.preprocess import prepare_train_input, prepare_test_input File "/media/workstation/DATA/CADDM-master/lib/data_preprocess/preprocess.py", line 14, in from .mfs import multi_scale_facial_swap File "/media/workstation/DATA/CADDM-master/lib/data_preprocess/mfs.py", line 9, in from .augmentor import elastic_transform File "/media/workstation/DATA/CADDM-master/lib/data_preprocess/augmentor.py", line 12, in from .utils.jpegpy import jpeg_decode, jpeg_encode File "/media/workstation/DATA/CADDM-master/lib/data_preprocess/utils/jpegpy/init.py", line 6, in from .jpegpy import jpeg_encode, jpeg_decode File "/media/workstation/DATA/CADDM-master/lib/data_preprocess/utils/jpegpy/jpegpy.py", line 6, in from . import _jpegpy ImportError: /media/workstation/DATA/CADDM-master/lib/data_preprocess/utils/jpegpy/_jpegpy.so: undefined symbol: jpeg_destroy_decompress

I am unable to resolve the issue, and quite surprised since I followed the same steps as people before me; I would appreciate your help a lot. Thank you.