FastSurferCNN: download_checkpoints.py¶
download_checkpoints
is a script is a script to download the checkpoint files for all the various neural networks in FastSurfer. It can be used to install them during a native install. Otherwise checkpoints will be loaded during the first run of FastSurfer automatically.
Full commandline interface of FastSurferCNN/download_checkpoints.py¶
Check and Download Network Checkpoints
usage: FastSurferCNN/download_checkpoints.py [-h] [--all] [--vinn]
[--cerebnet] [--hypvinn]
[--url URL]
[files ...]
Positional Arguments¶
- files
Checkpoint file paths to download, e.g. checkpoints/aparc_vinn_axial_v2.0.0.pkl …
Named Arguments¶
- --all
Check and download all default checkpoints
Default:
False
- --vinn
Check and download VINN default checkpoints
Default:
False
- --cerebnet
Check and download CerebNet default checkpoints
Default:
False
- --hypvinn
Check and download HypVinn default checkpoints
Default:
False
- --url
Specify you own base URL. This is applied to all models. Default for VINN: [’https://zenodo.org/records/10390573/files’, ‘https://b2share.fz-juelich.de/api/files/a423a576-220d-47b0-9e0c-b5b32d45fc59’] Default for CerebNet: [’https://zenodo.org/records/10390742/files’, ‘https://b2share.fz-juelich.de/api/files/c6cf7bc6-2ae5-4d0e-814d-2a3cf0e1a8c5’] Default for HypVINN: [’https://zenodo.org/records/11184216/files’, ‘https://b2share.fz-juelich.de/api/files/d9e37247-5455-4c83-853d-21e31fb5bea5’]