Hello,
I’m using the version 2.0 of Sen2Agri. I used the custom jobs for L4B and here’s the error log based on the monitoring.
Number of inputs 4
Computing class counts
Image 0 vector length 219
Image 1 vector length 219
Image 2 vector length 219
Image 3 vector length 219
12 155820
13 86707.8
53 29825.4
82 204572
Processing input 0
Image 0 vector length 219
Tile pixels of class 12: 4676
Tile pixels of class 13: 3638
Tile pixels of class 53: 208
Tile pixels of class 82: 10165
Training samples: 18687
Validation samples: 22
Processing input 1
Image 1 vector length 219
Tile pixels of class 12: 9329
Tile pixels of class 13: 30769
Tile pixels of class 53: 3519
Tile pixels of class 82: 26665
Training samples: 70282
Validation samples: 99
Processing input 2
Image 2 vector length 219
Tile pixels of class 12: 12093
Tile pixels of class 13: 795
Tile pixels of class 53: 13690
Training samples: 26578
Validation samples: 140
Processing input 3
Image 3 vector length 219
Tile pixels of class 12: 13347
Tile pixels of class 13: 4049
Tile pixels of class 53: 11737
Tile pixels of class 82: 2630
Training samples: 31763
Validation samples: 132
Total pixels of class 12: 39445
Total pixels of class 13: 39251
Total pixels of class 53: 29154
Total pixels of class 82: 39460
Total training samples: 147310
Total validation samples: 393
Traceback (most recent call last):
File "/usr/local/bin/gdal_edit.py", line 328, in <module>
sys.exit(gdal_edit(sys.argv))
File "/usr/local/bin/gdal_edit.py", line 227, in gdal_edit
ds = gdal.OpenEx(datasetname, gdal.OF_RASTER | gdal.OF_UPDATE, open_options=open_options)
AttributeError: 'module' object has no attribute 'OpenEx'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/sen2agri_common.py", line 609, in execute
pool.map(self.internal_postprocess_tile, self.tiles)
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 Nodata_51NYJ', 1)
Traceback (most recent call last):
File "/usr/local/bin/gdal_edit.py", line 328, in <module>
sys.exit(gdal_edit(sys.argv))
File "/usr/local/bin/gdal_edit.py", line 227, in gdal_edit
ds = gdal.OpenEx(datasetname, gdal.OF_RASTER | gdal.OF_UPDATE, open_options=open_options)
AttributeError: 'module' object has no attribute 'OpenEx'
I tried another custom job using the same training data (I rechecked it using check_shp.py), and waiting if I will encounter the error again.
Regards to all.