Skip to content

Issue with exp_name command #278

@julienzanin

Description

@julienzanin

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions