-
I wanted to perform supervised classification and my roi was India. I was following google documentation and used modis dataset and converted js code to python using your script which worked well, but now in the following code I'm having issues:-
Here I'm not able to use the training data. |
Beta Was this translation helpful? Give feedback.
Answered by
giswqs
May 23, 2021
Replies: 1 comment 1 reply
-
You need to have training = input.addBands(modis).sample(**{
'numPixels': 5000,
'seed': 0
}) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
giswqs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to have
**
before{}
. See https://geemap.org/notebooks/32_supervised_classification