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
Then I run the command:
python3 detector.py --image ./image/test.jpg --model ./epoch_204.pth.tar
Then I got this error:
Traceback (most recent call last):
File "detector.py", line 11, in
from model import Net
File "E:\code\S3FD\sfd.pytorch-master\model.py", line 5, in
from torchvision.models.vgg import VGG, cfg, make_layers, vgg16
ImportError: cannot import name 'cfg'
And I still don't figure out what goes wrong
The text was updated successfully, but these errors were encountered:
Then I run the command:
python3 detector.py --image ./image/test.jpg --model ./epoch_204.pth.tar
Then I got this error:
Traceback (most recent call last):
File "detector.py", line 11, in
from model import Net
File "E:\code\S3FD\sfd.pytorch-master\model.py", line 5, in
from torchvision.models.vgg import VGG, cfg, make_layers, vgg16
ImportError: cannot import name 'cfg'
And I still don't figure out what goes wrong
The text was updated successfully, but these errors were encountered: