Skip to content

KeyError: 'module.backbone.j_emb.t_embedding.0.weight' #2

@223d

Description

@223d

Hi ,

During the execution evaluation of ./script_action_recognition.sh ntu60_xsub ntu60 cross_subject, an error occurred

loading './checkpoints/ntu60_xsub/checkpoint_0450.pth.tar' for sanity check
Traceback (most recent call last):
File "/home/inspur/ZLQ/UmURL-main/action_recognition.py", line 470, in
main()
File "/home/inspur/ZLQ/UmURL-main/action_recognition.py", line 128, in main
main_worker(0, ngpus_per_node, args)
File "/home/inspur/ZLQ/UmURL-main/action_recognition.py", line 260, in main_worker
sanity_check_encoder(model.state_dict(), args.pretrained)
File "/home/inspur/ZLQ/UmURL-main/action_recognition.py", line 396, in sanity_check_encoder
assert ((state_dict[k].cpu() == state_dict_pre[k_pre]).all()),
KeyError: 'module.backbone.j_emb.t_embedding.0.weight'

Thankyou!

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