You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[performance issue] classifier.train() is very slow - and classifier.trainParallel() is no longer available - what are the alternatives for optimization while training?
#520
Closed
niftylettuce opened this issue
Apr 24, 2020
· 2 comments
webworker-threads can be used but are optional. If the module is installed it will be used. In classifier.js:
try {
var Threads = require('webworker-threads');
} catch (e) {
// Since webworker-threads are optional, only thow if the module is found
if (e.code !== 'MODULE_NOT_FOUND') throw e;
}
Since
webworker-threads
seems to have been deprecated, I'm curious what the new recommended approach is?I also wanted to point out that
trainParallel
is not documented at all in the README.The text was updated successfully, but these errors were encountered: