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

ValueError in 2_model.ipynb #4

Open
ejmfrancisco opened this issue Jan 24, 2022 · 5 comments
Open

ValueError in 2_model.ipynb #4

ejmfrancisco opened this issue Jan 24, 2022 · 5 comments

Comments

@ejmfrancisco
Copy link

Hi! I am currently working on the second file (2_model.ipynb). I receive 204288 as the maximum sample length.

image

So, I put that value (204288) in the total_length in the preprocessing cell. However, I consecutively receive "ValueError: index can't contain negative values" I tried to add 1 but, still received the same error. May I know how to solve this one?

image

@ShehrozWaseem
Copy link

did you got any solution for this I'm also being stucked here ?

@vasavdatta12
Copy link

hey, I am also getting the same error with the negative value error, did anyone get the solution?
image

@Arveleus
Copy link

Hey guys, did you solve this problem ? I have the same issue

@Arveleus
Copy link

@MeidanGR Hello mate, we get this error message. Could you help us ? Thanks for the work

@argalasjr
Copy link

argalasjr commented Dec 13, 2022

you have to uncomment
print(file,"\t", len(xt), "\t", rawsound.dBFS, "\t", normalizedsound.dBFS)

and find new max value

then update total_length variable

for our case was total_length = 228864

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

5 participants