Open fangiridev opened 1 year ago
Async training is only supported by a couple of classes. Most do not (and will never) support async training: https://github.com/BrainJS/brain.js#async-training
Since you didn't tell us what kind of network you're training, I can only assume you're using one of the unsupported classes.
To make the unsupported classes async, you have to use a worker, and the regular .train() method.
I get this error when trying to use 'net.trainAsync'
Code: