Open salmaShahid opened 1 year ago
@salmaShahid
The "speech_commands.input_data" module appears to be part of the TensorFlow Speech Command Recognition example code, which can be found in the TensorFlow GitHub repository.
You can find the "AudioProcessor" class by navigating to the following path in the repository:
tensorflow/examples/speech_commands/input_data.py
Once you've located the input_data.py file, you can import the AudioProcessor class using the following code:
from speech_commands.input_data import AudioProcessor
Make sure that you have TensorFlow installed and that you have downloaded the Speech Commands dataset before attempting to use this code.
ok. can you please provide me the requirement.txt file; because in colab, i am facing version issues;
It generates this error and i have downloaded the dataset
File "downstream_kws.py", line 263, in
From where i can find this speech_commands folder/file
from speech_commands.input_data import AudioProcessor