Closed emory-saba closed 1 week ago
Hi, thanks for raising this issue. I agree - it's probably an issue with the Keras version. Can you post the output of das version
?
Thanks for the quick response! The version I have on my Colab is 0.32.4
I've fixed the version of tensorflow that is installed with DAS.
The install command in the notebook is now
!pip install das "tensorflow<2.16"
Tthe updated notebook is now online.
Please reopen the issue if the problem persists.
Hello,
I am attempting to train a DAS model in Google Colab and repeatedly receive the error: "Trainer.compile() got an unexpected keyword argument 'sample_weight_mode'".
The Google Colab AI assistant suggests that this error is likely arising from the fact that das.models.tcn_stft calls modile.compile with sample_weight_mode, which was used in older versions of Keras but has been removed in newer versions.