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

test_protocol 中运行sh extract_feature.sh 报错 #180

Open
Songjingze opened this issue Nov 27, 2024 · 0 comments
Open

test_protocol 中运行sh extract_feature.sh 报错 #180

Songjingze opened this issue Nov 27, 2024 · 0 comments

Comments

@Songjingze
Copy link

Traceback (most recent call last):
File "extract_feature.py", line 44, in
model = model_loader.load_model(args.model_path)
File "/home/xxx/dev_related/open_source/FaceX-Zoo/test_protocol/utils/model_loader.py", line 47, in load_model
new_pretrained_dict[k] = pretrained_dict['backbone.'+k] # tradition training
KeyError: 'backbone.layers.2.blocks.6.norm1.weight'

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

1 participant