Skip to content

Commit

Permalink
Fix broken namignizer code
Browse files Browse the repository at this point in the history
  • Loading branch information
nealwu committed Mar 14, 2017
1 parent 00ffa60 commit fdc0c4a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions namignizer/names.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,10 @@ def namignator(checkpoint_path, config):
print(map(lambda x: chr(x + 96), name))


if __name__ == "__main__":
# train("data/SmallNames.txt", "model/namignizer", SmallConfig)
if __name__ == "__main__":
train("data/SmallNames.txt", "model/namignizer", SmallConfig)

# namignize(["mary", "ida", "gazorbazorb", "mmmhmm", "bob"],
# tf.train.latest_checkpoint("model"), SmallConfig)
namignize(["mary", "ida", "gazorbazorb", "mmmhmm", "bob"],
tf.train.latest_checkpoint("model"), SmallConfig)

# namignator(tf.train.latest_checkpoint("model"), SmallConfig)
namignator(tf.train.latest_checkpoint("model"), SmallConfig)

0 comments on commit fdc0c4a

Please sign in to comment.