-
Notifications
You must be signed in to change notification settings - Fork 18
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
Cannot batch tensors with different shapes in component 0. First element had shape [1445,40] and element 1 had shape [1330,40]. #15
Comments
Hi JFU, Can you post the entire error stack to understand which statement triggers this error? It's hard to understand from the current short snapshot you provided. |
i'm glad to get ur quick reply. |
error stack is shown below: C:\Users\JFU\anaconda3\envs\env38\python.exe C:/WORKSPACE/Spoken-Keyword-Spotting/src/main.py Epoch 1/25 Function call stack: Process finished with exit code 1 |
I believe the sampling rate should be the same as the one used for training. |
hi vinneth, |
==>
hi vinneths96,
i tried to use my own hotword -"get" insteand of "marvin" .
Then added some get-wav files into train folder ,create_modle and when run
"
# Obtain the feature embeddings
X_train = feature_extractor.predict(get_data, use_multiprocessing=True)
"
i got the err stack:
Cannot batch tensors with different shapes in component 0. First element had shape [1445,40] and element 1 had shape [1330,40].
could you please help me out?
Thanks a lot.
JFU
The text was updated successfully, but these errors were encountered: