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

Issue with Script 7 - Validation Data #38

Open
mickymags opened this issue Feb 16, 2022 · 1 comment
Open

Issue with Script 7 - Validation Data #38

mickymags opened this issue Feb 16, 2022 · 1 comment

Comments

@mickymags
Copy link

Hello,

I am using the GEE Code Repository authored by Khanal Nishant, found under the tab "Portal User Guide and Manual" at the following link: https://www.landcovermapping.org/en/about/

I have completed 6 of the 7 scripts with no issue, but the final script where we validate the machine learning model and evaluate its accuracy is giving me some issues. Attached please find an image of the error code GEE throws when I run the code. Thanks in advance!

P.S. my validation data was collected through Collect Earth Online and was formatted in the same way as my training data, which was fed into the code in an earlier script with no problem.

Screen Shot 2022-02-16 at 12 30 55 PM

@mickymags
Copy link
Author

This error was due to the fact that my validation data contained a Primitive (aka land cover class) called "unknown".

To all future users, make sure that the validation data you upload as a GEE asset to be used in this script contains ONLY the landcover classes you defined in Script 6 -- Interactive Assemblage (when we created the landcover map).

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