msracver / Relation-Networks-for-Object-Detection

Relation Networks for Object Detection
MIT License
1.09k stars 190 forks source link

error: maskApi.c: No such file or directory #5

Closed jhneo closed 6 years ago

jhneo commented 6 years ago

When I run sh ./init.sh, an error comes x86_64-linux-gnu-gcc: error: maskApi.c: No such file or directory And I have installed cython.
It seems when run in lib/ dataset/pycocotools/ python setup_linux.py build_ext --inplace

chengdazhi commented 6 years ago

Hi, which python version are you using?

miraclewkf commented 6 years ago

It is not the problem of python. This problem is caused by the missing of maskApi.c in ~/Relation-Networks-for-Object-Detection/lib/dataset/pycocotools/, you can copy maskApi.c from https://github.com/msracver/Deformable-ConvNets/tree/master/lib/dataset/pycocotools and re-compile.

@chengdazhi Maybe you can add maskApi.c file to this project.

chengdazhi commented 6 years ago

Many thanks to @miraclewkf for pointing out the problem. We made a wrong modification to gitignore and as a result maskApi.c went missing. I have just pushed a new commit to fix this. @jhneo you can pull the newest changes and try again. It should be fixed.