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

Unexpected error #1

Open
shawnyxf opened this issue Mar 27, 2023 · 1 comment
Open

Unexpected error #1

shawnyxf opened this issue Mar 27, 2023 · 1 comment

Comments

@shawnyxf
Copy link

When i run the training process of your code, i got an error "tensorflow.python.framework.errors_impl.InvalidArgumentError: num_lower must be negative or less or equal to number of rows (0) got: 150"

Can u help me figure it out? thanks in advance

@XinleiRen
Copy link
Owner

Hi, the error is from this function: asam.py/asat(), and the kernel function is tf.linalg.band_part().
The frame number of audios which is fed into the model is 200 (you can see it in mtfaa_net.py). And I guess you changed the frame number to a smaller value. So you can:

  1. use the default value of frame number (i.e. 200), that is you need feed a longer audio to the model;
  2. change the default value of a_frames(which is 300 now) to a smaller value to satisfy your frame number;

Thanks.

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

2 participants