Assertion t >= 0 && t < n_classes
in Chesapeake13
#1439
Labels
datasets
Geospatial or benchmark datasets
t >= 0 && t < n_classes
in Chesapeake13
#1439
Description
When training on Chesapeake13 with num_classes=14 and ignore_index=0, an assertion error ‘t >= 0 && t < n_classes’ occurs. This indicates that there are more class indices in the Chesapeake label imagery than the specified num_classes. However, when running
gdalinfo Baywide_13Class_20132014.tif Min=1.000 Max=12.000 Minimum=1.000, Maximum=12.000,
Could there be a problem with computing indices from Chesapeake13? I am using RandomBatchGeoSampler, so this error could randomly appear when there is a patch with a false class ID.”
Steps to reproduce
Training on Chesaspeake13
Version
0.4.1
The text was updated successfully, but these errors were encountered: