googlecodelabs / odml-pathways

Apache License 2.0
47 stars 32 forks source link

Problem with codelabs "Build a custom pre-trained Audio Classification model" - not loading example dataset #25

Open rexys777 opened 1 year ago

rexys777 commented 1 year ago

Good afternoon! I learn codelabs "Build a custom pre-trained Audio Classification model" and the colab notebook, example «Transfer Learning for the Audio Domain with TensorFlow Lite Model Maker» (https://developers.google.com/codelabs/tflite-audio-classification-custom-model-android#4) (https://www.tensorflow.org/lite/models/modify/model_maker/audio_classification)

In this example, The Birds dataset cannot be loaded. This link (https://storage.googleapis.com/laurencemoroney-blog.appspot.com/birds_dataset .zip') is invalid.

What should be the data structure for this example? How dataset structure should look like? How can I get this dataset for this example?

Example text from: https://colab.research.google.com/github/tensorflow/tensorflow/blob/master/tensorflow/lite/g3doc/models/modify/model_maker/audio_classification.ipynb#scrollTo=upNRfilkNSmr

birds_dataset_folder = tf.keras.utils.get_file('birds_dataset.zip', 'https://storage.googleapis.com/laurencemoroney-blog.appspot.com/birds_dataset.zip', cache_dir='./', cache_subdir='dataset', extract=True)

This link (https://storage.googleapis.com/laurencemoroney-blog.appspot.com/birds_dataset .zip') is invalid.