About Running the Single Coil
Closed this issue · 1 comments
Hello,
I have been always facing run_model.py: error: the following arguments are required: --data-path, --out-dir in this line.
python -m scripts.run_model --challenge singlecoil --batch-size 8 \ --data-path $test --checkpoint $chkpt/best_model.pt \ --out-dir $output --data-split test_v2 --mask-kspace
test = '/content/drive/My Drive/knee_singlecoil_test_v2/singlecoil_test_v2/'
output='/content/drive/I-RIM_Denemeler/Output/'
chkpt='/content/drive/My Drive/I-RIM/pretrained.z03/'
What is the problem? Could you give me some information about this error?
Thanks,
Hi @GeraldGore, according to training_utils/data_loaders.py the root path is set as
args.data_path / f'{args.challenge}_{args.data_split}'
.
So, the --data-path
should be /content/drive/My Drive/knee_singlecoil_test_v2/
.