Joll59 / d-ser-t

d-ser-t quantifies speech recognition accuracy of the MSFT speech service and/or user created MSFT custom speech service models.
2 stars 2 forks source link

Bug : setting the wrong concurrency number crashes the tool #35

Closed HobbyProjects closed 5 years ago

HobbyProjects commented 5 years ago

Only 4 files and concurrency of 17 causes a crash. Please see below. Setting the concurrency to 2 resolved the problem.

node lib\main.js -s xxxxxxxx -r westus2 -e yyyyyyyy -c 17 -d C:\SBUX\d-ser-t\audio -t "C:\SBUX\ramsay-utterances\transcripts\add-to-order-manual-text-utterances.txt" Starting Recognizer 0 . . . Starting Recognizer 1 . . . Starting Recognizer 2 . . . Starting Recognizer 3 . . .

ENCOUNTERED AN ERROR ####:

TypeError: Cannot read property 'recording' of undefined at C:\SBUX\d-ser-t\lib\TranscriptionService.js:83:62 at new Promise () at TranscriptionService.internalRecognizer (C:\SBUX\d-ser-t\lib\TranscriptionService.js:56:20) at C:\SBUX\d-ser-t\lib\TranscriptionService.js:111:101 at Array.map () at TranscriptionService.batchTranscribe (C:\SBUX\d-ser-t\lib\TranscriptionService.js:111:45) at Object.exports.start (C:\SBUX\d-ser-t\lib\main.js:42:23) at Object. (C:\SBUX\d-ser-t\lib\main.js:74:13) at Module._compile (internal/modules/cjs/loader.js:774:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)

Joll59 commented 5 years ago

fixed by #50 & #51