如题。
您好,我在运行您的代码的时候发现会提示如下错误:
Traceback (most recent call last):
File "tools/train.py", line 13, in
from yolox.core import Trainer, launch
File "/usr/local/anaconda3/lib/python3.8/site-packages/yolox-0.1.0-py3.8-linux-x86_64.egg/yolox/init.py", line 4, in
from .utils import configure_module
File "/usr/local/anaconda3/lib/python3.8/site-packages/yolox-0.1.0-py3.8-linux-x86_64.egg/yolox/utils/init.py", line 6, in
from .boxes import *
File "/usr/local/anaconda3/lib/python3.8/site-packages/yolox-0.1.0-py3.8-linux-x86_64.egg/yolox/utils/boxes.py", line 7, in
from DOTA_devkit_YOLO import polyiou
ModuleNotFoundError: No module named 'DOTA_devkit_YOLO'
如题。 您好,我在运行您的代码的时候发现会提示如下错误: Traceback (most recent call last): File "tools/train.py", line 13, in
from yolox.core import Trainer, launch
File "/usr/local/anaconda3/lib/python3.8/site-packages/yolox-0.1.0-py3.8-linux-x86_64.egg/yolox/init.py", line 4, in
from .utils import configure_module
File "/usr/local/anaconda3/lib/python3.8/site-packages/yolox-0.1.0-py3.8-linux-x86_64.egg/yolox/utils/init.py", line 6, in
from .boxes import *
File "/usr/local/anaconda3/lib/python3.8/site-packages/yolox-0.1.0-py3.8-linux-x86_64.egg/yolox/utils/boxes.py", line 7, in
from DOTA_devkit_YOLO import polyiou
ModuleNotFoundError: No module named 'DOTA_devkit_YOLO'
我去yolox/utils/boxes.py中查看发现了from DOTA_devkit_YOLO import polyiou,尝试把from导入模块改成相对路径,依旧会出现这个问题? 麻烦您帮忙解答一下,万分感谢!!