Skip to content

hello!I have encountered this problem #8

@zky0701

Description

@zky0701

When I run the pretrained file, an error occurs:
Traceback (most recent call last):
File "run_pretrained_promptmr_fastmri_knee_inference.py", line 182, in
torch.device(args.device),
File "run_pretrained_promptmr_fastmri_knee_inference.py", line 121, in run_inference
model.load_state_dict(torch.load(state_dict_file))
File "/home/zhengkaiyi/anaconda3/envs/zky/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1672, in load_state_dict
self.class.name, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for PromptMR:
Is it because I ran the files in the wrong order, or is there another reason? Could you help me solve it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions