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] [--cc] [--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- --cc
Check and download Corpus Callosum 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://b2share.fz-juelich.de/api/files/a423a576-220d-47b0-9e0c-b5b32d45fc59’, ‘https://zenodo.org/records/10390573/files’] Default for CerebNet: [’https://b2share.fz-juelich.de/api/files/c6cf7bc6-2ae5-4d0e-814d-2a3cf0e1a8c5’, ‘https://zenodo.org/records/10390742/files’] Default for CorpusCallosum: [’https://b2share.fz-juelich.de/api/files/e4eb699c-ba68-4470-9f3d-89ceeee1a334’, ‘https://zenodo.org/records/17141933/files’] Default for HypVINN: [’https://b2share.fz-juelich.de/api/files/d9e37247-5455-4c83-853d-21e31fb5bea5’, ‘https://zenodo.org/records/11184216/files’]