mravanelli / SincNet

SincNet is a neural architecture for efficiently processing raw audio samples.
MIT License
1.13k stars 262 forks source link

chunk numbers in code "N_fr" #95

Open brealisty opened 4 years ago

brealisty commented 4 years ago

in reademe, 10ms is overlap, but in code: N_fr = int((signal.shape[0]-wlen)/(wshift)) this formula means 10ms is shift, actually, the N_fr should be: N_fr = int((signal.shape[0]-(wlen-wshift))/(wshift))

but if 10ms is overlap, N_fr should be: N_fr = int((signal.shape[0]-wshift)/(wlen-wshift)) if like this, the number of chunk will be less than batch_num.

I'm confused.