keras-io icon indicating copy to clipboard operation
keras-io copied to clipboard

Error in keras example - Speaker Recognition using cnn colab file

Open robotjellyzone opened this issue 2 years ago • 3 comments

As a part of the hugging face sprint, I was trying to add the hf space & model link for this Keras example but got an error while executing the file. Then, I checked the original/official example colab file and tried executing this colab file but got the following similar error.

image

robotjellyzone avatar Jul 14 '22 08:07 robotjellyzone

I ran it in colab as well and I got the error. pinging @fbadine here if he has any idea 🙂

merveenoyan avatar Jul 18 '22 13:07 merveenoyan

I will try later today or tomorrow and will feedback

fbadine avatar Jul 18 '22 16:07 fbadine

The reason for the error is that the example notebook does not find any data. It assumes that the dataset should have been installed.

# Get the data from https://www.kaggle.com/kongaevans/speaker-recognition-dataset/download
# and save it to the 'Downloads' folder in your HOME directory

The reason for this is that downloading from Kaggle requires authentication and a token. @fchollet is this ok or should the notebook download data to make it easier as an end-to-end sample however, it's out of the scope f the example?

fbadine avatar Jul 19 '22 13:07 fbadine

@robotjellyzone ,

As confirmed in above comment, the dataset has to be downloaded from kaggle which may needs account and authentications token. Hence it was left to users who has to do it manually.

There is also note available in the tutorial which is provided in attached snapshot below.This can make users aware of this to avoid the reported error.

Screenshot 2023-09-05 at 5 44 31 PM

Can we marked it as closed as the required information available. Please check and confirm. Thanks!

SuryanarayanaY avatar Sep 05 '23 12:09 SuryanarayanaY

This issue is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you.

github-actions[bot] avatar Sep 20 '23 01:09 github-actions[bot]

This issue was closed because it has been inactive for 28 days. Please reopen if you'd like to work on this further.

github-actions[bot] avatar Oct 04 '23 01:10 github-actions[bot]