You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is for sharing a possible issue who prefers a newer sklearn.
it seems that a new member variable has been added to the MinMaxScaler.
model=return_loaded_model(AudioEncoder, 'coala/saved_models/dual_ae_c/audio_encoder_epoch_200.pt')
extract_audio_embedding_chunks(model, '/data/UrbanSound8K/audio/fold1/101415-3-0-3.wav')
# --> fails with this error: 'MinMaxScaler' object has no attribute 'clip' /data/UrbanSound8K/audio/fold1/101415-3-0-3.wav
Hi,
This is for sharing a possible issue who prefers a newer sklearn.
it seems that a new member variable has been added to the MinMaxScaler.
https://github.com/scikit-learn/scikit-learn/blob/2beed5584/sklearn/preprocessing/_data.py#L248
I wanted to work with the newer sklearn, then I manually added the new member as follows.
I guess you might want to update the
scaler_top_1000.pkl
in this repo.P.S. Thank you for sharing your code!
The text was updated successfully, but these errors were encountered: