mmtracking
mmtracking copied to clipboard
ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
Checklist
- I have searched related issues but cannot get the expected help.
- The bug has not been fixed in the latest version.
Describe the bug ImportWarning: can't resolve package from spec or package, falling back on name and path
Reproduction
- What command or script did you run?
python ./tools/train.py ./configs/mot/bytetrack/bytetrack_yolox_x_crowdhuman_mot17-private-half.py --work-dir ./work_dirs/bytetrack/
Error traceback
C:\anaconda\envs\open-mmlab\lib\importlib\_bootstrap.py:219: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
return f(*args, **kwds)
Hi. Did anyone meet this warning? How did you solve it ? Thanks
Yeah,we have also noticed this warning in the passed few days,but have no time to study it. We will fix it as soon as possible. Would you like to try to fix it?
Yes. I tried to eliminate the warning but without success.
We find that It's the problem of the third library lap. Maybe you can propose an issue in their codebase.