-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Downloading pretrained weights (~140MB) ...Error #254
Comments
Zenodo did a major update of their website and this also changed the way they accept download requests. I am working on a fix for this. |
I also tried "wget https://zenodo.org/record/3518348/files/best_weights_ep220.npz?download=1" in the Terminal, it can also download the Date(best_weights_ep220.npz). Should I change some code in a certain file of TractSeg? Or we will just have to wait for Zenodo to give us an responsein the future. |
I fixed the problem and published a new version (v2.9) for pip. |
Thank you so much for your helpful suggestion! I re-installed the new version (v2.9) just that and it seems to work fine ! |
Hi Prof Jakob, The code for Tract Orientation Maps that I am running is: Here is the error text: The Error in above processing causes further errors when I run the tracking: During handling of the above exception, another exception occurred: Traceback (most recent call last): How to solve this problem? Thank you. |
@wasserth Could you please update new https://hub.docker.com/r/wasserth/tractseg_container to the latest version ? |
When I use ‘TractSeg -i hc1_DTI.nii.gz --raw_diffusion_input’ in Teminal to treat example DTI data, the following error continues to appear:
Loading weights from: /home/w/.tractseg/pretrained_weights_tract_segmentation_v3.npz
Downloading pretrained weights (~140MB) ...
Traceback (most recent call last):
File "/home/w/anaconda3/envs/torch/bin/TractSeg", line 7, in
exec(compile(f.read(), file, 'exec'))
File "/home/w/soft/TractSeg/bin/TractSeg", line 420, in
main()
File "/home/w/soft/TractSeg/bin/TractSeg", line 325, in main
seg = run_tractseg(data, args.output_type,
File "/home/w/soft/TractSeg/tractseg/python_api.py", line 154, in run_tractseg
utils.download_pretrained_weights(experiment_type=Config.EXPERIMENT_TYPE,
File "/home/w/soft/TractSeg/tractseg/libs/utils.py", line 170, in download_pretrained_weights
download_url(WEIGHTS_URL, weights_path)
File "/home/w/soft/TractSeg/tractseg/libs/utils.py", line 110, in download_url
raise e
File "/home/w/soft/TractSeg/tractseg/libs/utils.py", line 106, in download_url
r.raise_for_status()
File "/home/w/anaconda3/envs/torch/lib/python3.9/site-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://zenodo.org/record/3518348/files/best_weights_ep220.npz?download=1
However,the ‘url: https://zenodo.org/record/3518348/files/best_weights_ep220.npz?download=1’ can open and download at Firefox Web Browser.
How to solve this problem?
Thank you.
The text was updated successfully, but these errors were encountered: