12/9/2023 0 Comments Data generator keras exampleThe numpy array will have the shape Īnd is compatible with TensorFlow. In multiband situations, if interleave is set to 'band' (the default) By defaultĪll bands are read and the indexes argument is updated when the raster The indexes argument selects bands in a multiband raster. Height can set as attributes to the SDG or as arguments toįlow_from _dataframe but specifying as arguments to flow_from_dataframe The source must be set prior to calling flow_from_dataframe. Examples from keras_spatial import SpatialDataGenerator sdg = SpatialDataGenerator ( source = '/path/to/file.tif' ) sdg. Raises RasterioIOError when the source is set if the file does not exist
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |