Skip to content

Instantly share code, notes, and snippets.

@shriyaRam
Created August 28, 2019 10:18
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 shriyaRam/962f14ca6b0c98421bbc8eca395ce23f to your computer and use it in GitHub Desktop.
Save shriyaRam/962f14ca6b0c98421bbc8eca395ce23f to your computer and use it in GitHub Desktop.
def letter_probs_to_code(letter_probs):
return "".join(common.CHARS[i] for i in numpy.argmax(letter_probs, axis=1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment