-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels