Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
fdc0c4ab
Commit
fdc0c4ab
authored
Feb 23, 2017
by
Neal Wu
Browse files
Fix broken namignizer code
parent
00ffa603
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
namignizer/names.py
namignizer/names.py
+5
-5
No files found.
namignizer/names.py
View file @
fdc0c4ab
...
...
@@ -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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment