Packages intended to assist in the preprocessing of SpaceNet satellite imagery data corpus to a format that is consumable by machine learning algorithms.
Other
248
stars
97
forks
source link
coreLabelTools.py function createRasterFromGDF: make np.zeroes instead of np.empty #92
coreLabelTools.py function createRasterFromGDF currently does this for an empty geojson (=no buildings):
burned = np.empty(rst.shape, dtype='uint8')
This gives a somewhat random array depending on what was in memory. But if I understand correctly, what we want is an array with all zeroes:
burned = np.zeros(rst.shape, dtype='uint8')