PyTorch notebook from the tutorial seems to have a bug.
It gives the following error.
How should I solve this?
Uploading: CleanShot 2022-05-11 at 22.03.26.png…
PyTorch notebook from the tutorial seems to have a bug.
It gives the following error.
How should I solve this?
Uploading: CleanShot 2022-05-11 at 22.03.26.png…
You can replace the line
result = speech_recognizer(dataset[:4]["audio"])
with
result = speech_recognizer([x['array'] for x in dataset[:4]["audio"]])
for now.
We’ll work on getting that fixed, thanks for catching it!