Image_manipulation_detection icon indicating copy to clipboard operation
Image_manipulation_detection copied to clipboard

a error with use command "python train.py"

Open CharlesDCXX opened this issue 3 years ago • 1 comments

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

CharlesDCXX avatar Dec 24 '21 11:12 CharlesDCXX

try

python setup.py build_ext --inplace

bldu avatar Mar 24 '22 13:03 bldu