Skip to content

KeywordTensor 1.3.0

Choose a tag to compare

@fkondela fkondela released this 29 Jul 17:04
· 36 commits to main since this release

This release brings significant improvements to the KeywordTensor training engine, focusing on a new background noise dataset, enhanced audio randomness, and advanced hardware support.

⚡ Core & Background Noise

  • Background Noise Dataset: The engine now natively integrates the Myrtle/CAIMAN-ASR-BackgroundNoise dataset for background noise generation, completely replacing the ESC-50 dataset.

🎙️ Audio Processing Pipeline

  • Advanced Temporal Cropping: The internal audio loading pipeline has been completely rebuilt to support advanced data augmentation. The engine now applies dynamic random temporal cropping (for long audio files) and random zero-padding (for short files) exclusively during the training phase. This drastically improves the model's robustness against unpredictable temporal shifts in real-world scenarios.

📊 Training & Callbacks

  • Custom FastAI Callbacks: Added a new cbs parameter to the train() method. Developers can now seamlessly inject custom FastAI callbacks (e.g., Weights & Biases, TensorBoard loggers) directly into the training loop for advanced tracking and telemetry.
  • Multi-GPU ONNX Export: Re-engineered the ONNX model export logic. The engine now automatically detects and unwraps nn.DataParallel structures, ensuring that models trained on multi-GPU systems maintain clean, prefix-free layer structures during deployment.