What's Changed
Backbone weights migrated to HuggingFace Hub
- Pretrained backbone weights are now hosted at
magcil/deepaudiox-backboneson HuggingFace Hub, replacing the previous GitHub raw file hosting. - Downloads are handled via
hf_hub_download, which manages caching automatically in~/.cache/huggingface/hub/. Files are only downloaded once per machine. - A download message is printed only on first download — subsequent calls load silently from cache.
- Unauthenticated HuggingFace Hub warnings are suppressed; actual errors still surface.
Users can set
HF_TOKENin their environment for higher rate limits.
from_checkpoint no longer re-downloads pretrained weights
Backbone.from_checkpoint()andAudioClassifier.from_checkpoint()now reconstruct the model withpretrained=False, regardless of what was saved in the checkpoint config. Previously, if the config containedpretrained=True, the pretrained weights were downloaded from the Hub and then immediately overwritten by the checkpoint weights — a redundant and slow operation.
load_state_dict uses strict=False
- Backbone weight loading now uses
strict=Falseto accommodate minor mismatches between pretrained checkpoint keys and the model definition.
Full Changelog: v0.4.6...v0.4.7