We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tested with @0.4.3 and @0.5.0 (see notes)
Example of the problem: p5js editor
0: Object red-ish: NaN label: "red-ish" confidence: NaN 1: Object blue-ish: NaN label: "blue-ish" confidence: NaN
const inputs = { r: item.r, //g: item.g, //b: item.b };
On @0.5.0 this then also provides a correct prediction. On @0.4.3 the training runs but ends with a high loss and the confidence is NaN.
The text was updated successfully, but these errors were encountered:
@hansvana - Ahhh I had a look and I think I spot the issue.
If all of the values of g are "0" then the normalization runs into some issues which may be leading to the problem that the training isn't occurring.
g
const data = [ {r:255, g:0, b:0, color:'red-ish'}, {r:254, g:0, b:0, color:'red-ish'}, {r:253, g:0, b:0, color:'red-ish'}, {r:0, g:0, b:255, color:'blue-ish'}, {r:0, g:1, b:254, color:'blue-ish'}, {r:0, g:1, b:253, color:'blue-ish'}, ];
This is definitely a bug that we will need to address. Thanks for surfacing this!
Sorry, something went wrong.
@hansvana - Ahhh I had a look and I think I spot the issue. If all of the values of g are "0" then the normalization runs into some issues which may be leading to the problem that the training isn't occurring. const data = [ {r:255, g:0, b:0, color:'red-ish'}, {r:254, g:0, b:0, color:'red-ish'}, {r:253, g:0, b:0, color:'red-ish'}, {r:0, g:0, b:255, color:'blue-ish'}, {r:0, g:1, b:254, color:'blue-ish'}, {r:0, g:1, b:253, color:'blue-ish'}, ]; This is definitely a bug that we will need to address. Thanks for surfacing this!
ml5js/ml5-library#973 (comment)
If the NN expects a string, I think sholud give a notice, or explicit cast.
pull request to change neural-network.md #ml5js/ml5-library#1010
No branches or pull requests
Tested with @0.4.3 and @0.5.0 (see notes)
Example of the problem: p5js editor
Steps to reproduce:
Problem:
Notes:
On @0.5.0 this then also provides a correct prediction. On @0.4.3 the training runs but ends with a high loss and the confidence is NaN.
The text was updated successfully, but these errors were encountered: