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
405bb623
Commit
405bb623
authored
Apr 05, 2017
by
cxx
Committed by
Neal Wu
Apr 06, 2017
Browse files
fix translate relevant import problem when used as lib.
parent
77a42ffb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
tutorials/rnn/translate/__init__.py
tutorials/rnn/translate/__init__.py
+2
-2
tutorials/rnn/translate/seq2seq_model.py
tutorials/rnn/translate/seq2seq_model.py
+1
-1
No files found.
tutorials/rnn/translate/__init__.py
View file @
405bb623
...
@@ -18,5 +18,5 @@ from __future__ import absolute_import
...
@@ -18,5 +18,5 @@ from __future__ import absolute_import
from
__future__
import
division
from
__future__
import
division
from
__future__
import
print_function
from
__future__
import
print_function
import
data_utils
from
.
import
data_utils
import
seq2seq_model
from
.
import
seq2seq_model
tutorials/rnn/translate/seq2seq_model.py
View file @
405bb623
...
@@ -25,7 +25,7 @@ import numpy as np
...
@@ -25,7 +25,7 @@ import numpy as np
from
six.moves
import
xrange
# pylint: disable=redefined-builtin
from
six.moves
import
xrange
# pylint: disable=redefined-builtin
import
tensorflow
as
tf
import
tensorflow
as
tf
import
data_utils
from
.
import
data_utils
class
Seq2SeqModel
(
object
):
class
Seq2SeqModel
(
object
):
...
...
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