Python 3, PyTorch(1.9.0)
Other dependencies can be installed via
pip install -r requirements.txt
-
To run the training of experiment
X
whereX
is a config file for a session :python run_exp.py -c config/X.yaml
-
After training, you can specify the
test_model
field of the configuration yaml file with the path of your best model snapshot, e.g.,test_model: exp/Liangwei/Liangwei_hcp/model_snapshot_best.pth
-
To run the test of experiments
X
:python run_exp.py -c config/X.yaml -t