diff --git a/torchgeo/datasets/geo.py b/torchgeo/datasets/geo.py index 406900ef2e7..0b0dc74046c 100644 --- a/torchgeo/datasets/geo.py +++ b/torchgeo/datasets/geo.py @@ -415,7 +415,7 @@ def __init__( (minx, maxx), (miny, maxy) = fiona.transform.transform( src.crs, self.crs.to_dict(), [minx, maxx], [miny, maxy] ) - except fiona.errors.DriverError: + except (fiona.errors.DriverError, fiona.errors.FionaValueError): # Skip files that fiona is unable to read continue else: