Skip to content

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

@Songjingze

Description

@Songjingze

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions