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

[BUG]: Unable to train model for audio classification #390

Open
Kheertik opened this issue Jul 12, 2024 · 1 comment
Open

[BUG]: Unable to train model for audio classification #390

Kheertik opened this issue Jul 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Kheertik
Copy link

Kheertik commented Jul 12, 2024

I'm training 6 classes of 300 samples (5 min recording each class)

Steps to reproduce the behavior:

  1. Go to record for 5 minutes
  2. Click on train
  3. Check console to see error

Error:

@tensorflow/speech-commands Transfer recognizer created (version 0.4.0): parameters: {"sampleRateHz":44100,"fftSize":1024,"spectrogramDurationMillis":998.4580498866213}
index.bundle.js:104  Uncaught (in promise) RangeError: Maximum call stack size exceeded
    at S (index.bundle.js:104:30520)
    at index.bundle.js:104:30955
    at new t (index.bundle.js:104:31018)
    at e.loadExamples (index.bundle.js:104:58946)
    at r.<anonymous> (index.bundle.js:5632:4033)
    at Generator.next (<anonymous>)
    at a (index.bundle.js:5598:3279)
    

Expected behavior:
The model should train as it should be.

Specs:

  • OS: Windows 11 64 bits
  • Browser: Chrome (extensions: Adblocker, noscript(every script enabled), Decentralysed), Firefox (no extension)
  • Version 22H
@Kheertik Kheertik added the bug Something isn't working label Jul 12, 2024
@Miraii133
Copy link

Miraii133 commented Nov 16, 2024

I have the exact same problem when training a model for audio classification. I have 20 classes, and 350 sample for each class. I get that error when I reach a certain number of datasets.

Tried in different browsers:
Edge, Google Chrome (fresh install), Opera (fresh install)

Any idea how to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants