Open yaofanji opened 2 years ago
ME too!
Hi @MangoFF @yaofanji you need to do the step mentioned in the repo, by doing
pip install -e .
(if you are in the DynamicHead folder) or pip install -e DynamicHead
(if you are outside of the repo's folder).
FYI, I am only able to build/install/execute the above command successfully on linux system (ubuntu), whereas it failed on Win10.
Thanks for sharing your great work!But I encountered this error for a long time and can't solve it.
Traceback (most recent call last): File "train_net.py", line 33, in <module> from dyhead import add_dyhead_config File "/user-data/DynamicHead-master/dyhead/__init__.py", line 2, in <module> from .dyhead import DyHead File "/user-data/DynamicHead-master/dyhead/dyhead.py", line 7, in <module> from .deform import ModulatedDeformConv File "/user-data/DynamicHead-master/dyhead/deform.py", line 8, in <module> import dyhead._C as _C ModuleNotFoundError: No module named 'dyhead._C'