Skip to content

Commit

Permalink
rename and move data folder to example_data
Browse files Browse the repository at this point in the history
 * rename folder to highlight fastai usage
 * move data folder to example_data
 * update utils code to latest eo-learn version
  • Loading branch information
devisperessutti committed Jul 12, 2019
1 parent 635da27 commit 64f327b
Show file tree
Hide file tree
Showing 20 changed files with 35 additions and 25 deletions.
File renamed without changes.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ def lulc_arr(lulc_mask, lulc_codes):
land_cover_task_array = []
for el, val in zip(land_cover_array, lulc_codes):
land_cover_task_array.append(VectorToRaster(
feature=(FeatureType.MASK_TIMELESS, 'LULC'),
vector_data=el,
raster_value=val,
raster_feature=(FeatureType.MASK_TIMELESS, 'LULC'),
vector_input=el,
values=val,
raster_shape=rshape,
write_to_existing=True,
raster_dtype=np.uint8))

return land_cover_task_array

0 comments on commit 64f327b

Please sign in to comment.