Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoguey authored and Ngoguey42 committed May 22, 2019
1 parent 9d6b678 commit 3adb817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ for i, fp in enumerate(tiles.flat):

# Perform pixelwise semantic segmentation with a keras model
predictions_heatmap = km.predict(rgb[np.newaxis, ...])[0]
predictions_top1 = np.argmax(heatmap, axis=-1)
predictions_top1 = np.argmax(predictions_heatmap, axis=-1)

# Save the prediction to a `geotiff`
with buzz.create_raster(path='predictions_{}.tif'.format(i), fp=fp,
Expand Down

0 comments on commit 3adb817

Please sign in to comment.