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

About Dataset seconds_total #136

Open
UESTC-Med424-JYX opened this issue Aug 6, 2024 · 0 comments
Open

About Dataset seconds_total #136

UESTC-Med424-JYX opened this issue Aug 6, 2024 · 0 comments

Comments

@UESTC-Med424-JYX
Copy link

I found the definition of seconds_total in the dataset.py file,
seconds_total = math.ceil(n_samples / self.sample_rate)
I am confused about this, shouldn't the total time be the length of time after the offset? Why does it keep the original audio time length here?

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