Open polidox2 opened 1 year ago
I have the same problem
I think I figured it out. If you go to line 567 you should see this:
and ( round(x_coarse_history.shape[-1] / len(x_semantic_history), 1) == round(semantic_to_coarse_ratio / N_COARSE_CODEBOOKS, 1) )
and I just changed the 1's to 0's
and ( round(x_coarse_history.shape[-1] / len(x_semantic_history), 0) == round(semantic_to_coarse_ratio / N_COARSE_CODEBOOKS, 0) )
This error is happening because these values aren't being rounded enough, so I just set it to a full number.
changed the value from 1 to 0 still getting same error.
565 and x_coarse_history.max() <= CODEBOOK_SIZE - 1 566 and ( --> 567 round(x_coarse_history.shape[-1] / len(x_semantic_history), 0) 568 == round(semantic_to_coarse_ratio / N_COARSE_CODEBOOKS, 0) 569 )
AssertionError:
Hello, tried with 3 different audio lenghts, even 4s it give this error.
Please if you can help, thank you so uch