You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
audio_resampler.resample(frame) returns a list of one audio frame that doesn't provide to_ndarray() method. Changing the line to np_snd = audio_resampler.resample(frame)[0].to_ndarray() solves the issue on me laptop. I am unsure if someone faces the same issue, but I report here for reference.
The text was updated successfully, but these errors were encountered:
I do not recall getting this error, often version changes may cause this as well!
Thanks for sharing... I will test this and push the changes if the error persists.
Hi, I face AttributeError running this line of code. Though the error is handled, the data loader seems not to read data properly on my laptop.
AVCAffe/codes/dataloader/backend/av_wrappers.py
Line 119 in dc2702b
audio_resampler.resample(frame)
returns a list of one audio frame that doesn't provide to_ndarray() method. Changing the line tonp_snd = audio_resampler.resample(frame)[0].to_ndarray()
solves the issue on me laptop. I am unsure if someone faces the same issue, but I report here for reference.The text was updated successfully, but these errors were encountered: