zamba.models.utils¶
Attributes¶
S3_BUCKET = 's3://drivendata-public-assets'
module-attribute
¶
Classes¶
RegionEnum
¶
Functions¶
download_weights(filename: str, destination_dir: Union[os.PathLike, str], weight_region: RegionEnum = RegionEnum('us')) -> Path
¶
Source code in zamba/models/utils.py
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
|
get_checkpoint_hparams(checkpoint)
¶
Source code in zamba/models/utils.py
62 63 |
|
get_default_hparams(model)
¶
Source code in zamba/models/utils.py
53 54 55 56 57 58 59 |
|
get_model_checkpoint_filename(model_name)
¶
Source code in zamba/models/utils.py
43 44 45 46 47 48 49 50 |
|
get_model_species(checkpoint, model_name)
¶
Source code in zamba/models/utils.py
71 72 73 74 75 76 77 |
|