v0.4.0
Release version 0.4.0 of OpenL3.
- Upgraded to
tensorflow>=2.0.0
. Tensorflow is now included as a dependency because of dual CPU-GPU support. - Upgraded to
kapre>=0.3.5
. Reverted magnitude scaling method to matchkapre<=0.1.4
as that's what the model was trained on. - Removed Python 2/3.5 support as they are not supported by Tensorflow 2 (and added 3.7 & 3.8)
- Add librosa frontend, and allow frontend to be configurable between
kapre
andlibrosa
- Added
frontend='kapre'
parameter toget_audio_embedding
,process_audio_file
, andload_audio_embedding_model
- Added
audio_frontend='kapre'
parameter toprocess_video_file
and the CLI - Added
frontend='librosa'
flag toload_audio_embedding_model
for use with a librosa or other external frontend - Added a
openl3.preprocess_audio
function that computes the input features needed for each frontend
- Added
- Model .h5 no longer have Kapre layers in them and are all importable from
tf.keras
- Made
skimage
andmoviepy.video.io.VideoFileClip import VideoFileClip
use lazy imports - Added new regression data for both Kapre 0.3.5 and Librosa
- Parameterized some of the tests to reduce duplication
- Added developer helpers for regression data, weight packaging, and .h5 file manipulation