Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chunk numbers in code "N_fr" #95

Open
brealisty opened this issue Aug 26, 2020 · 0 comments
Open

chunk numbers in code "N_fr" #95

brealisty opened this issue Aug 26, 2020 · 0 comments

Comments

@brealisty
Copy link

brealisty commented Aug 26, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant