You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 15, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 15, 2026. It is now read-only.
ModuleNotFoundError: No module named 'dyhead._C' #42
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'
Hi MangoFF (@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.
Reacted by qingjiusanliangsan, RToF and Po-An Chen
Activity
MangoFF commentedon May 13, 2022
ME too!
briliantnugraha commentedon May 24, 2022
Hi MangoFF (@MangoFF) yaofanji you need to do the step mentioned in the repo, by doing
pip install -e .(if you are in the DynamicHead folder) orpip 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.