Thanks for you code, but when load the arcface model, such error happened.
return _legacy_load(open_file,map_location...)
from .config import device,num_classes
import error attempted relative import with no known parent package
Thanks for you code, but when load the arcface model, such error happened.
return _legacy_load(open_file,map_location...)
from .config import device,num_classes
import error attempted relative import with no known parent package
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Thanks for you code, but when load the arcface model, such error happened.
return _legacy_load(open_file,map_location...)
from .config import device,num_classes
import error attempted relative import with no known parent package
You might have tried to extract the file. You are not supposed to. Would help if we knew what the root directory looks like.