tianzhi0549 / FCOS

FCOS: Fully Convolutional One-Stage Object Detection (ICCV'19)
https://arxiv.org/abs/1904.01355
Other
3.26k stars 630 forks source link

Fix vision.h import not found #360

Open guigarfr opened 2 years ago

guigarfr commented 2 years ago

Trying to execute python setup.py develop gives a compilation error. In this case, import file vision.h was not found. I saw some issues reported with same vision.h not found error (this one, or this one, or this other one).

I guess it worked before if you had your project path in your system's path.

With the fix, the absolute path for fcos c files is given to the CPPExtension class, making the compilation work.