Hello,
I am trying to run the L4A Crop Mask for my test site but am getting the following error in the output:
Number of inputs 1
Computing class counts
Image 0 vector length 31
Processing input 0
Image 0 vector length 31
/home/cudroiu/sen2agri/sen2agri-processors/Common/TrainImagesClassifierNew/otbListSampleGeneratorEx.txx:366:
itk::ERROR: No training sample found inside image
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/sen2agri_common.py”, line 589, in execute
pool.map(self.internal_train_stratum, self.strata)
File “/usr/lib64/python2.7/multiprocessing/pool.py”, line 250, in map
return self.map_async(func, iterable, chunksize).get()
File “/usr/lib64/python2.7/multiprocessing/pool.py”, line 554, in get
raise self._value
Exception: (‘Error running TrainImagesClassifier’, 1)
Does anyone know what the problem is?
Grateful for any help
Graham