Traceback (most recent call last):
File "tools/train.py", line 4, in
from model import build_ssd
File "/root/yyf/awesome_SSD_FPN_GIoU-master/model/init.py", line 1, in
from .build_ssd import build_ssd
File "/root/yyf/awesome_SSD_FPN_GIoU-master/model/build_ssd.py", line 10, in
from model.backbone import Backbone
File "/root/yyf/awesome_SSD_FPN_GIoU-master/model/backbone/init.py", line 1, in
from .build_backbone import Backbone
File "/root/yyf/awesome_SSD_FPN_GIoU-master/model/backbone/build_backbone.py", line 1, in
import pretrainedmodels
ModuleNotFoundError: No module named 'pretrainedmodels'
我下载了您github中的预训练模型,应该放在哪里呢?
输入
python tools/train.py
后报错Traceback (most recent call last): File "tools/train.py", line 4, in
from model import build_ssd
File "/root/yyf/awesome_SSD_FPN_GIoU-master/model/init.py", line 1, in
from .build_ssd import build_ssd
File "/root/yyf/awesome_SSD_FPN_GIoU-master/model/build_ssd.py", line 10, in
from model.backbone import Backbone
File "/root/yyf/awesome_SSD_FPN_GIoU-master/model/backbone/init.py", line 1, in
from .build_backbone import Backbone
File "/root/yyf/awesome_SSD_FPN_GIoU-master/model/backbone/build_backbone.py", line 1, in
import pretrainedmodels
ModuleNotFoundError: No module named 'pretrainedmodels'