Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Error with audio training, Unhandled Rejection (TypeError): data.data is undefined #89

Open
llamallion opened this issue Aug 4, 2020 · 0 comments

Comments

@llamallion
Copy link

Audio training threw this error 76 times:

Unhandled Rejection (TypeError): data.data is undefined
_callee6$/</<
C:/Users/x/Desktop/Train-Custom-Speech-Model-master/client/src/pages/Train.js:180

177 | .then((response) => {
178 | response.json().then((data) => {
179 | this.setState({ acousticModelData: data.data });

180 | let isNotActive = this.checkModelStatusDone(data.data.status);
| ^ 181 | // If polling and if the model is no longer in an active state, stop
182 | // polling.
183 | if (isNotActive && poll) {

Compiled version:

_callee6$/</<
http://localhost:3000/static/js/main.chunk.js:3886:37

3883 | acousticModelData: data.data
3884 | });
3885 |

3886 | var isNotActive = _this.checkModelStatusDone(data.data.status); // If polling and if the model is no longer in an active state, stop
| ^ 3887 | // polling.
3888 |
3889 |

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant