You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According this document, the antsxnet_cache_directory was used to store the downloaded template and model weights. I haved download brainExtractionRobustT1.h5 and S_template3_resampled.nii.gz in a folder. Then I set antsxnet_cache_directory to this folder path. the code was as following:
brainExtractionRobustT1.h5 and S_template3_resampled.nii.gz were in /home/wei/DeepLearning/Model_pth/, Since I haved downloaded template and model weights to the folder path which antsxnet_cache_directory was pointed to,why antspynet.utilities.brain_extraction still need to download data from https://ndownloader.figshare.com/files/22597175
Then I copy brainExtractionRobustT1.h5 and S_template3_resampled.nii.gz to ~/.keras/ANTsXNet, and run antspynet.utilities.brain_extraction twice, the same error happed.
Hi, When I exacted brain using
antspynet.utilities.brain_extraction
according to AntsPyNet document (https://antsx.github.io/ANTsPyNet/docs/build/html/utilities.html#applications), an error happened.According this document, the
antsxnet_cache_directory
was used to store the downloaded template and model weights. I haved downloadbrainExtractionRobustT1.h5
andS_template3_resampled.nii.gz
in a folder. Then I setantsxnet_cache_directory
to this folder path. the code was as following:brainExtractionRobustT1.h5
andS_template3_resampled.nii.gz
were in/home/wei/DeepLearning/Model_pth/
, Since I haved downloaded template and model weights to the folder path whichantsxnet_cache_directory
was pointed to,whyantspynet.utilities.brain_extraction
still need to download data from https://ndownloader.figshare.com/files/22597175Then I copy
brainExtractionRobustT1.h5
andS_template3_resampled.nii.gz
to~/.keras/ANTsXNet
, and runantspynet.utilities.brain_extraction
twice, the same error happed.When I copy https://ndownloader.figshare.com/files/22597175 to my google chrome, It automatically download
S_template3_resampled.nii.gz
. I don't know the reason why error happend.The text was updated successfully, but these errors were encountered: