MIC-DKFZ / TractSeg

Automatic White Matter Bundle Segmentation
Apache License 2.0
231 stars 75 forks source link

Issue with exp_name command #278

Open julienzanin opened 2 months ago

julienzanin commented 2 months ago

I am wanting to run TractSeg using the trained_weights for the acoustic radiations provided by Rodrigo’s group ([https://zenodo.org/records/7052849] (https://url.au.m.mimecastprotect.com/s/l59lCE8knvsWyDRpNINfXC7qesb?domain=zenodo.org)), however, I am unable to get the –exp_name command working. I continue to encounter issues with the filepath:

TractSeg -i peaks.nii.gz --exp_name best_weights_ep110 --verbose Traceback (most recent call last): File "/home/julien/anaconda3/bin/TractSeg", line 420, in main() File "/home/julien/anaconda3/bin/TractSeg", line 201, in main Config = exp_utils.load_config_from_txt(join(C.EXP_PATH, File "/home/julien/anaconda3/lib/python3.9/site-packages/tractseg/libs/exp_utils.py", line 175, in load_config_from_txt config_str = open(path, "r").read() FileNotFoundError: [Errno 2] No such file or directory: '/home/julien/TractSeg/hcp_exp/best_weights_ep110/Hyperparameters.txt'

Where should non-TractSeg weights be saved in order for them to work with the exp_name command and is the Hyperparameters.txt file necessary?