Commit 74ae8221 authored by Neal Wu's avatar Neal Wu
Browse files

Remove leading space from namignizer code

parent 5c535343
...@@ -250,10 +250,10 @@ def namignator(checkpoint_path, config): ...@@ -250,10 +250,10 @@ def namignator(checkpoint_path, config):
print(map(lambda x: chr(x + 96), name)) print(map(lambda x: chr(x + 96), name))
if __name__ == "__main__": if __name__ == "__main__":
train("data/SmallNames.txt", "model/namignizer", SmallConfig) train("data/SmallNames.txt", "model/namignizer", SmallConfig)
namignize(["mary", "ida", "gazorbazorb", "mmmhmm", "bob"], namignize(["mary", "ida", "gazorbazorb", "mmmhmm", "bob"],
tf.train.latest_checkpoint("model"), SmallConfig) tf.train.latest_checkpoint("model"), SmallConfig)
namignator(tf.train.latest_checkpoint("model"), SmallConfig) namignator(tf.train.latest_checkpoint("model"), SmallConfig)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment