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
Hi, I find that in this _get_audio function, a spectrogram will be generated for each sampled frame by signal.spectrogram(samples, samplerate, nperseg=512,noverlap=353). For efficiency, would it be possible to generate one large spectrogram for a video and then perform sampling on the large spectrogram? Since this would save some preprocessing costs if there is no memory problem.
Actually, it spend more time if you compute a spectrogram for a long audio signal. Thus, my code would compute only a short segment (e.g., 5s 10s 30s whatever you want)
Hi, I find that in this
_get_audio
function, a spectrogram will be generated for each sampled frame bysignal.spectrogram(samples, samplerate, nperseg=512,noverlap=353)
. For efficiency, would it be possible to generate one large spectrogram for a video and then perform sampling on the large spectrogram? Since this would save some preprocessing costs if there is no memory problem.Thanks for releasing this nice work!
The text was updated successfully, but these errors were encountered: