arcface-pytorch
arcface-pytorch copied to clipboard
No module named 'resnet'
No module named 'resnet'
No module named 'resnet'
I met the same problem, how to solve it?
No module named 'resnet'
Please be more specific to enable anyone to be of any help. Where are you encountering this issue? Have you cloned the repo completely? Make sure all the files are there.
modify this line in init.py from resnet import * to from models.resnet import * can fix your problem @niushaoda
@monkeyDemon it works, thx, there is another problem in test.py : from config import Config ImportError: cannot import name 'Config' from 'config' so do you know how to solve it, thx!
@barcahoo Just change init.py of config directory:
from this:
from config import *
to this:
from .config import *