This repository contains the source code for training/inference of QSMnet used in the paper "A Fair Comparison in Deep Learning-Based QSM Reconstruction".
Create the conda environment using the provided YAML file:
conda env create -n qsmnet2 -f environment.ymlpython patch.pyTo modify hyperparameters, update the default values in the argument parser within "train.py".
python train.py -g 0 -s ../save/qsmnet111To modify hyperparameters, update the default values in the argument parser within "test.py".
python test.py -g 0 -s ../save/qsmnet111/result -e 25python testmetric.py -p ../network/qsmnet111/result