Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When testing, feature list is empty #54

Open
zhang123-sys opened this issue Nov 18, 2022 · 3 comments
Open

When testing, feature list is empty #54

zhang123-sys opened this issue Nov 18, 2022 · 3 comments

Comments

@zhang123-sys
Copy link

image

@zhang123-sys
Copy link
Author

root@Idddbe339d00c011ff:/hy-nas/MagFace-main/eval/eval_recognition# ./eval.sh lfw/cfp/agedb/magface_iresnet18_casia_dp.pth official 18
Traceback (most recent call last):
File "../../inference/gen_feat.py", line 6, in
from utils import utils
File "/hy-nas/MagFace-main/eval/eval_recognition/../../utils/init.py", line 1, in
from .utils import utils
File "/hy-nas/MagFace-main/eval/eval_recognition/../../utils/utils.py", line 17, in
from loguru import logger
ModuleNotFoundError: No module named 'loguru'
Traceback (most recent call last):
File "../../inference/gen_feat.py", line 6, in
from utils import utils
File "/hy-nas/MagFace-main/eval/eval_recognition/../../utils/init.py", line 1, in
from .utils import utils
File "/hy-nas/MagFace-main/eval/eval_recognition/../../utils/utils.py", line 17, in
from loguru import logger
ModuleNotFoundError: No module named 'loguru'
Traceback (most recent call last):
File "../../inference/gen_feat.py", line 6, in
from utils import utils
File "/hy-nas/MagFace-main/eval/eval_recognition/../../utils/init.py", line 1, in
from .utils import utils
File "/hy-nas/MagFace-main/eval/eval_recognition/../../utils/utils.py", line 17, in
from loguru import logger
ModuleNotFoundError: No module named 'loguru'
evaluate lfw
Traceback (most recent call last):
File "eval_1v1.py", line 153, in
main()
File "eval_1v1.py", line 150, in main
perform_1v1_eval(args)
File "eval_1v1.py", line 49, in perform_1v1_eval
feat_pairs = load_feat_pair(feat_list, pair_list)
File "eval_1v1.py", line 35, in load_feat_pair
with open(feat_path) as f:
FileNotFoundError: [Errno 2] No such file or directory: './features/magface_iresnet18//lfw_official.list'
evaluate cfp
Traceback (most recent call last):
File "eval_1v1.py", line 153, in
main()
File "eval_1v1.py", line 150, in main
perform_1v1_eval(args)
File "eval_1v1.py", line 49, in perform_1v1_eval
feat_pairs = load_feat_pair(feat_list, pair_list)
File "eval_1v1.py", line 35, in load_feat_pair
with open(feat_path) as f:
FileNotFoundError: [Errno 2] No such file or directory: './features/magface_iresnet18//cfp_official.list'
evaluate agedb
Traceback (most recent call last):
File "eval_1v1.py", line 153, in
main()
File "eval_1v1.py", line 150, in main
perform_1v1_eval(args)
File "eval_1v1.py", line 49, in perform_1v1_eval
feat_pairs = load_feat_pair(feat_list, pair_list)
File "eval_1v1.py", line 35, in load_feat_pair
with open(feat_path) as f:
FileNotFoundError: [Errno 2] No such file or directory: './features/magface_iresnet18//agedb_official.list'

@IrvingMeng
Copy link
Owner

Hi, the first error is ModuleNotFoundError: No module named 'loguru'. Installing the package may fix the issue.

@zhang123-sys
Copy link
Author

image
pip install loguru
but
ImportError: cannot import name 'utils' from 'utils.utils' (/hy-nas/MagFace-main/eval/eval_recognition/../../utils/utils.py)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants