DerrickXuNu / OpenCOOD

[ICRA 2022] An opensource framework for cooperative detection. Official implementation for OPV2V.
https://mobility-lab.seas.ucla.edu/opv2v/
Other
663 stars 99 forks source link

Cython modules are not compiled automatically #5

Closed zqzqz closed 2 years ago

zqzqz commented 2 years ago

PYX files, for instance opencood/utils/box_overlaps.pyx are not compiled by setup.py, which results in import errors.

My fix in setup.py

from Cython.Build import cythonize

setup(
  ext_modules = cythonize("opencood/utils/box_overlaps.pyx")
)
DerrickXuNu commented 2 years ago

Hi thanks for using OpenCOOD!

In the installation guide, the last step indicates you have to run the following command to manually compile the pyx file, did you do that?

python opencood/utils/setup.py build_ext --inplace

zqzqz commented 2 years ago

Hi @DerrickXuNu. I missed that final step. Thank you for helping!