Skip to content
New issue

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

Not enough "grey-ish" data (Colour Classifier) #4

Open
DelSquared opened this issue Jul 12, 2018 · 0 comments
Open

Not enough "grey-ish" data (Colour Classifier) #4

DelSquared opened this issue Jul 12, 2018 · 0 comments

Comments

@DelSquared
Copy link

DelSquared commented Jul 12, 2018

I saw from the crowd sourcing website that grey was very uncommon and when downloading this and running it, the NN is really struggling with correctly classifying greys (i.e. ones where roughly R=G=B).

As a fix to this, maybe it would be possible to manually inject the dataset with grey datapoints following an algorithm (pseudocode) along the lines of:

let n = rand()%255;
let RGB = colour(n,n,n);
//send to server as "grey-ish"
//loop as many times as necessary

or alternatively adding a little bit of randomness:

let n = rand()%255;
let m = 3; 
//m is some small number of how large of a variation one would want. I suspect 3 or less is good

let r = n + rand()%m
let g = n + rand()%m
let b = n + rand()%m

let RGB = colour(r,g,b);
//send to server as "grey-ish"
//loop as many times as necessary

where rand() is some function that gives a random integer

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

No branches or pull requests

1 participant