Created
August 28, 2019 10:18
-
-
Save shriyaRam/962f14ca6b0c98421bbc8eca395ce23f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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