Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beeva-ricardoguerrero/979af25a86356380402c93ddfbacaaae to your computer and use it in GitHub Desktop.
Save beeva-ricardoguerrero/979af25a86356380402c93ddfbacaaae to your computer and use it in GitHub Desktop.
# scipy.misc.imresize completely changes the values if it's not properly used. It's very dangerous!!
predicted = scipy.misc.imresize(predicted, gt_shape, interp='nearest', mode='F').astype(np.uint8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment