Eo-learn lulc module not found

Hi all,

I try to run your eo-learn code example from githab and I have problem with LULC part of the code

sys.path.append('../../example_data/')
from lulc_cmap import lulc_cmap, lulc_norm
from lulc_classes import lulc_classes 

with error

ModuleNotFoundError Traceback (most recent call last)
<ipython-input-27-9aea9cbc93dd> in <module>
      1 sys.path.append('../../example_data/')
----> 2 from lulc_cmap import lulc_cmap, lulc_norm
      3 from lulc_classes import lulc_classes

ModuleNotFoundError: No module named 'lulc_cmap'

I successfully loaded all eo-learn packages, however, I cannot resolve this error. Could you help me?
Thank you.

Hi Petr,

it looks like module lulc_cmap is not found. The module is located in eo-learn/example_data directory, which should be added to the $PATH. The first line above

sys.path.append('../../example_data/')

should do this. Please try changing the relative path '../../example_data/' with the absolute one /path_to/eo-learn/example_data (where you have to replace path_to).