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
0d9a3abd
"git@developer.sourcefind.cn:OpenDAS/mmdetection3d.git" did not exist on "64298bdb2b97f6e5410c192b7826ac2fe5737be3"
Commit
0d9a3abd
authored
Dec 22, 2016
by
Neal Wu
Browse files
Remove all references to 'tensorflow.models' which is no longer correct
parent
061142a0
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
23 additions
and
23 deletions
+23
-23
tutorials/embedding/__init__.py
tutorials/embedding/__init__.py
+1
-1
tutorials/embedding/word2vec.py
tutorials/embedding/word2vec.py
+1
-1
tutorials/embedding/word2vec_optimized.py
tutorials/embedding/word2vec_optimized.py
+1
-1
tutorials/embedding/word2vec_optimized_test.py
tutorials/embedding/word2vec_optimized_test.py
+1
-1
tutorials/embedding/word2vec_test.py
tutorials/embedding/word2vec_test.py
+1
-1
tutorials/image/alexnet/alexnet_benchmark.py
tutorials/image/alexnet/alexnet_benchmark.py
+1
-1
tutorials/image/cifar10/__init__.py
tutorials/image/cifar10/__init__.py
+2
-2
tutorials/image/cifar10/cifar10.py
tutorials/image/cifar10/cifar10.py
+1
-1
tutorials/image/cifar10/cifar10_eval.py
tutorials/image/cifar10/cifar10_eval.py
+1
-1
tutorials/image/cifar10/cifar10_input_test.py
tutorials/image/cifar10/cifar10_input_test.py
+1
-1
tutorials/image/cifar10/cifar10_multi_gpu_train.py
tutorials/image/cifar10/cifar10_multi_gpu_train.py
+1
-1
tutorials/image/cifar10/cifar10_train.py
tutorials/image/cifar10/cifar10_train.py
+1
-1
tutorials/rnn/ptb/__init__.py
tutorials/rnn/ptb/__init__.py
+1
-1
tutorials/rnn/ptb/ptb_word_lm.py
tutorials/rnn/ptb/ptb_word_lm.py
+2
-2
tutorials/rnn/ptb/reader_test.py
tutorials/rnn/ptb/reader_test.py
+2
-2
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
tutorials/rnn/translate/translate.py
tutorials/rnn/translate/translate.py
+2
-2
No files found.
tutorials/embedding/__init__.py
View file @
0d9a3abd
...
@@ -18,4 +18,4 @@ from __future__ import absolute_import
...
@@ -18,4 +18,4 @@ from __future__ import absolute_import
from
__future__
import
division
from
__future__
import
division
from
__future__
import
print_function
from
__future__
import
print_function
from
tensorflow.models.embedding
import
gen_word2vec
import
gen_word2vec
tutorials/embedding/word2vec.py
View file @
0d9a3abd
...
@@ -42,7 +42,7 @@ from six.moves import xrange # pylint: disable=redefined-builtin
...
@@ -42,7 +42,7 @@ from six.moves import xrange # pylint: disable=redefined-builtin
import
numpy
as
np
import
numpy
as
np
import
tensorflow
as
tf
import
tensorflow
as
tf
from
tensorflow.models.embedding
import
gen_word2vec
as
word2vec
import
gen_word2vec
as
word2vec
flags
=
tf
.
app
.
flags
flags
=
tf
.
app
.
flags
...
...
tutorials/embedding/word2vec_optimized.py
View file @
0d9a3abd
...
@@ -41,7 +41,7 @@ from six.moves import xrange # pylint: disable=redefined-builtin
...
@@ -41,7 +41,7 @@ from six.moves import xrange # pylint: disable=redefined-builtin
import
numpy
as
np
import
numpy
as
np
import
tensorflow
as
tf
import
tensorflow
as
tf
from
tensorflow.models.embedding
import
gen_word2vec
as
word2vec
import
gen_word2vec
as
word2vec
flags
=
tf
.
app
.
flags
flags
=
tf
.
app
.
flags
...
...
tutorials/embedding/word2vec_optimized_test.py
View file @
0d9a3abd
...
@@ -23,7 +23,7 @@ import os
...
@@ -23,7 +23,7 @@ import os
import
tensorflow
as
tf
import
tensorflow
as
tf
from
tensorflow.models.embedding
import
word2vec_optimized
import
word2vec_optimized
flags
=
tf
.
app
.
flags
flags
=
tf
.
app
.
flags
...
...
tutorials/embedding/word2vec_test.py
View file @
0d9a3abd
...
@@ -23,7 +23,7 @@ import os
...
@@ -23,7 +23,7 @@ import os
import
tensorflow
as
tf
import
tensorflow
as
tf
from
tensorflow.models.embedding
import
word2vec
import
word2vec
flags
=
tf
.
app
.
flags
flags
=
tf
.
app
.
flags
...
...
tutorials/image/alexnet/alexnet_benchmark.py
View file @
0d9a3abd
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
To run, use:
To run, use:
bazel run -c opt --config=cuda
\
bazel run -c opt --config=cuda
\
third_party/tensorflow/mode
ls/image/alexnet:alexnet_benchmark
models/tutoria
ls/image/alexnet:alexnet_benchmark
Across 100 steps on batch size = 128.
Across 100 steps on batch size = 128.
...
...
tutorials/image/cifar10/__init__.py
View file @
0d9a3abd
...
@@ -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
from
tensorflow.models.image.cifar10
import
cifar10
import
cifar10
from
tensorflow.models.image.cifar10
import
cifar10_input
import
cifar10_input
tutorials/image/cifar10/cifar10.py
View file @
0d9a3abd
...
@@ -44,7 +44,7 @@ import tarfile
...
@@ -44,7 +44,7 @@ import tarfile
from
six.moves
import
urllib
from
six.moves
import
urllib
import
tensorflow
as
tf
import
tensorflow
as
tf
from
tensorflow.models.image.cifar10
import
cifar10_input
import
cifar10_input
FLAGS
=
tf
.
app
.
flags
.
FLAGS
FLAGS
=
tf
.
app
.
flags
.
FLAGS
...
...
tutorials/image/cifar10/cifar10_eval.py
View file @
0d9a3abd
...
@@ -41,7 +41,7 @@ import time
...
@@ -41,7 +41,7 @@ import time
import
numpy
as
np
import
numpy
as
np
import
tensorflow
as
tf
import
tensorflow
as
tf
from
tensorflow.models.image.cifar10
import
cifar10
import
cifar10
FLAGS
=
tf
.
app
.
flags
.
FLAGS
FLAGS
=
tf
.
app
.
flags
.
FLAGS
...
...
tutorials/image/cifar10/cifar10_input_test.py
View file @
0d9a3abd
...
@@ -23,7 +23,7 @@ import os
...
@@ -23,7 +23,7 @@ import os
import
tensorflow
as
tf
import
tensorflow
as
tf
from
tensorflow.models.image.cifar10
import
cifar10_input
import
cifar10_input
class
CIFAR10InputTest
(
tf
.
test
.
TestCase
):
class
CIFAR10InputTest
(
tf
.
test
.
TestCase
):
...
...
tutorials/image/cifar10/cifar10_multi_gpu_train.py
View file @
0d9a3abd
...
@@ -47,7 +47,7 @@ import time
...
@@ -47,7 +47,7 @@ import time
import
numpy
as
np
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
from
tensorflow.models.image.cifar10
import
cifar10
import
cifar10
FLAGS
=
tf
.
app
.
flags
.
FLAGS
FLAGS
=
tf
.
app
.
flags
.
FLAGS
...
...
tutorials/image/cifar10/cifar10_train.py
View file @
0d9a3abd
...
@@ -41,7 +41,7 @@ import time
...
@@ -41,7 +41,7 @@ import time
import
tensorflow
as
tf
import
tensorflow
as
tf
from
tensorflow.models.image.cifar10
import
cifar10
import
cifar10
FLAGS
=
tf
.
app
.
flags
.
FLAGS
FLAGS
=
tf
.
app
.
flags
.
FLAGS
...
...
tutorials/rnn/ptb/__init__.py
View file @
0d9a3abd
...
@@ -18,4 +18,4 @@ from __future__ import absolute_import
...
@@ -18,4 +18,4 @@ from __future__ import absolute_import
from
__future__
import
division
from
__future__
import
division
from
__future__
import
print_function
from
__future__
import
print_function
from
tensorflow.models.rnn.ptb
import
reader
import
reader
tutorials/rnn/ptb/ptb_word_lm.py
View file @
0d9a3abd
...
@@ -61,7 +61,7 @@ import time
...
@@ -61,7 +61,7 @@ import time
import
numpy
as
np
import
numpy
as
np
import
tensorflow
as
tf
import
tensorflow
as
tf
from
tensorflow.models.rnn.ptb
import
reader
import
reader
flags
=
tf
.
flags
flags
=
tf
.
flags
logging
=
tf
.
logging
logging
=
tf
.
logging
...
@@ -126,7 +126,7 @@ class PTBModel(object):
...
@@ -126,7 +126,7 @@ class PTBModel(object):
if
is_training
and
config
.
keep_prob
<
1
:
if
is_training
and
config
.
keep_prob
<
1
:
inputs
=
tf
.
nn
.
dropout
(
inputs
,
config
.
keep_prob
)
inputs
=
tf
.
nn
.
dropout
(
inputs
,
config
.
keep_prob
)
# Simplified version of
tensorflow.mode
ls
.
rnn
.
rnn.py's rnn().
# Simplified version of
models/tutoria
ls
/
rnn
/
rnn.py's rnn().
# This builds an unrolled LSTM for tutorial purposes only.
# This builds an unrolled LSTM for tutorial purposes only.
# In general, use the rnn() or state_saving_rnn() from rnn.py.
# In general, use the rnn() or state_saving_rnn() from rnn.py.
#
#
...
...
tutorials/rnn/ptb/reader_test.py
View file @
0d9a3abd
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
# limitations under the License.
# limitations under the License.
# ==============================================================================
# ==============================================================================
"""Tests for
tensorflow.models.ptb_lstm
.ptb
_
reader."""
"""Tests for
models.tutorials.rnn
.ptb
.
reader."""
from
__future__
import
absolute_import
from
__future__
import
absolute_import
from
__future__
import
division
from
__future__
import
division
...
@@ -23,7 +23,7 @@ import os.path
...
@@ -23,7 +23,7 @@ import os.path
import
tensorflow
as
tf
import
tensorflow
as
tf
from
tensorflow.models.rnn.ptb
import
reader
import
reader
class
PtbReaderTest
(
tf
.
test
.
TestCase
):
class
PtbReaderTest
(
tf
.
test
.
TestCase
):
...
...
tutorials/rnn/translate/__init__.py
View file @
0d9a3abd
...
@@ -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
from
tensorflow.models.rnn.translate
import
data_utils
import
data_utils
from
tensorflow.models.rnn.translate
import
seq2seq_model
import
seq2seq_model
tutorials/rnn/translate/seq2seq_model.py
View file @
0d9a3abd
...
@@ -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
from
tensorflow.models.rnn.translate
import
data_utils
import
data_utils
class
Seq2SeqModel
(
object
):
class
Seq2SeqModel
(
object
):
...
...
tutorials/rnn/translate/translate.py
View file @
0d9a3abd
...
@@ -42,8 +42,8 @@ import numpy as np
...
@@ -42,8 +42,8 @@ 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
from
tensorflow.models.rnn.translate
import
data_utils
import
data_utils
from
tensorflow.models.rnn.translate
import
seq2seq_model
import
seq2seq_model
tf
.
app
.
flags
.
DEFINE_float
(
"learning_rate"
,
0.5
,
"Learning rate."
)
tf
.
app
.
flags
.
DEFINE_float
(
"learning_rate"
,
0.5
,
"Learning rate."
)
...
...
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