LarryJiang134 / Image_manipulation_detection

Paper: CVPR2018, Learning Rich Features for Image Manipulation Detection
MIT License
354 stars 97 forks source link

a error with use command "python train.py" #26

Open CharlesDCXX opened 2 years ago

CharlesDCXX commented 2 years ago

hello ,buddy: I run command "python train.py" at the directory "Image_manipulation_detection-master/train.py",the terminal show the error "File "/tmp/pycharm_project_48/Image_manipulation_detection-master/lib/utils/bbox.py", line 8 cimport cython ^ SyntaxError: invalid syntax " I already run "python utils/setup.py install",but i dont know what mean about the line of "cimport cython" in the file of train.py,and why occur the error

bldu commented 2 years ago

try

python setup.py build_ext --inplace