Skip to content

Releases: magcil/deepaudio-x

v0.4.1

24 Mar 12:07
acbf0d1

Choose a tag to compare

Inference Pipeline

  • `predict()` is now a pure low-level method — eval mode and gradient context are the caller's responsibility
  • `inference_on_waveform()` automatically manages eval mode and restores training state via the new `@eval_mode` decorator
  • Added `ValueError` for non-1D input in `inference_on_waveform()`
  • New `utils/decorators.py` with `eval_mode` decorator using `try/finally` for guaranteed state restoration

Evaluator

  • Fixed O(n²) `np.concatenate` — results now accumulate in lists and are concatenated once after the loop
  • Replaced `torch.no_grad()` context manager with `@torch.inference_mode()` decorator

Trainer

  • Decomposed `train()` into `train_step()`, `val_step()`, and `epoch_step()` — users can now build custom training loops around `epoch_step()`

Module Structure

  • Renamed `dtos/` → `schemas/` and split into `items.py`, `predictions.py`, and `types.py`
  • `BackboneName` moved to `schemas/types.py` to eliminate circular imports
  • Fixed backbone registry typo: `monilenet_` → `mobilenet_`
  • Suppressed `FutureWarning` from deprecated `weight_norm` in BEATs backbone

Public API

  • Removed internal names (`AudioClassifierConstructor`, `BackboneConstructor`, `BACKBONES`, `POOLING`) from `all`
  • `AudioClassifier` and `Backbone` are now the only exported model constructors

CI

  • Added `publish.yml` workflow for automated PyPI publishing on GitHub release"

v0.4.0

13 Feb 14:12
7c8b015

Choose a tag to compare

  1. Add Mobilenets variants from https://github.com/fschmid56/EfficientAT/
  2. bump version to 0.4.0
  3. Update and integrate mobilenets on testing

v0.3.7

09 Feb 19:50

Choose a tag to compare

Update readthedocs:

  1. Finalize api reference
  2. fixed docstrings and generated instructional example code blocks
  3. add citation & contributing

v0.3.6

09 Feb 14:17

Choose a tag to compare

  1. Optimize inference by leveraging bitcount and not masking

v0.3.5

09 Feb 13:36

Choose a tag to compare

  1. Fix inference to calculate counts
  2. Now result is fixed and the label with most occurrences and the higher mean posterior is returned

v0.3.4

09 Feb 12:21

Choose a tag to compare

  1. Fix bug on inference by processing segments based on sample points and not on time duration
  2. Add one test on inference
  3. Version bump to 0.3.4

v0.3.3

09 Feb 05:48

Choose a tag to compare

Update README:

  1. add hyperlink on uv installation
  2. cache buster on python versions and pypi version

v0.3.2

09 Feb 05:06

Choose a tag to compare

  1. Add badges
  2. Refine installation guidelines on README
  3. Version bump to 0.3.2

v0.3.1

09 Feb 04:50

Choose a tag to compare

  1. Modify README by adding Inference API

v0.3.0

07 Feb 15:09

Choose a tag to compare

  1. Add inference on base classifier constructor
  2. add testing when pushing on main
  3. remove toc from README
  4. progress with readthedocs