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
d90d5280
Unverified
Commit
d90d5280
authored
Jan 22, 2018
by
Neal Wu
Committed by
GitHub
Jan 22, 2018
Browse files
Merge pull request #3206 from cclauss/from-six.moves-import-xrange
from six.moves import xrange (en masse)
parents
6fc65ee6
848cc592
Changes
74
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
14 additions
and
1 deletion
+14
-1
research/slim/datasets/build_imagenet_data.py
research/slim/datasets/build_imagenet_data.py
+1
-0
research/slim/datasets/preprocess_imagenet_validation_data.py
...arch/slim/datasets/preprocess_imagenet_validation_data.py
+1
-0
research/slim/datasets/process_bounding_boxes.py
research/slim/datasets/process_bounding_boxes.py
+1
-0
research/slim/nets/cyclegan.py
research/slim/nets/cyclegan.py
+1
-1
research/slim/nets/dcgan.py
research/slim/nets/dcgan.py
+1
-0
research/slim/nets/dcgan_test.py
research/slim/nets/dcgan_test.py
+1
-0
research/street/python/decoder.py
research/street/python/decoder.py
+1
-0
research/street/python/shapes.py
research/street/python/shapes.py
+1
-0
research/street/python/vgslspecs.py
research/street/python/vgslspecs.py
+1
-0
research/syntaxnet/dragnn/python/graph_builder_test.py
research/syntaxnet/dragnn/python/graph_builder_test.py
+1
-0
research/syntaxnet/dragnn/python/network_units.py
research/syntaxnet/dragnn/python/network_units.py
+1
-0
research/syntaxnet/dragnn/python/spec_builder.py
research/syntaxnet/dragnn/python/spec_builder.py
+1
-0
research/syntaxnet/dragnn/python/trainer_lib.py
research/syntaxnet/dragnn/python/trainer_lib.py
+1
-0
research/tcn/labeled_eval.py
research/tcn/labeled_eval.py
+1
-0
No files found.
research/slim/datasets/build_imagenet_data.py
View file @
d90d5280
...
@@ -94,6 +94,7 @@ import threading
...
@@ -94,6 +94,7 @@ import threading
import
google3
import
google3
import
numpy
as
np
import
numpy
as
np
from
six.moves
import
xrange
import
tensorflow
as
tf
import
tensorflow
as
tf
tf
.
app
.
flags
.
DEFINE_string
(
'train_directory'
,
'/tmp/'
,
tf
.
app
.
flags
.
DEFINE_string
(
'train_directory'
,
'/tmp/'
,
...
...
research/slim/datasets/preprocess_imagenet_validation_data.py
View file @
d90d5280
...
@@ -51,6 +51,7 @@ from __future__ import print_function
...
@@ -51,6 +51,7 @@ from __future__ import print_function
import
os
import
os
import
os.path
import
os.path
import
sys
import
sys
from
six.moves
import
xrange
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
...
...
research/slim/datasets/process_bounding_boxes.py
View file @
d90d5280
...
@@ -85,6 +85,7 @@ import glob
...
@@ -85,6 +85,7 @@ import glob
import
os.path
import
os.path
import
sys
import
sys
import
xml.etree.ElementTree
as
ET
import
xml.etree.ElementTree
as
ET
from
six.moves
import
xrange
class
BoundingBox
(
object
):
class
BoundingBox
(
object
):
...
...
research/slim/nets/cyclegan.py
View file @
d90d5280
...
@@ -18,7 +18,7 @@ from __future__ import division
...
@@ -18,7 +18,7 @@ from __future__ import division
from
__future__
import
print_function
from
__future__
import
print_function
import
numpy
as
np
import
numpy
as
np
from
six.moves
import
xrange
import
tensorflow
as
tf
import
tensorflow
as
tf
layers
=
tf
.
contrib
.
layers
layers
=
tf
.
contrib
.
layers
...
...
research/slim/nets/dcgan.py
View file @
d90d5280
...
@@ -19,6 +19,7 @@ from __future__ import print_function
...
@@ -19,6 +19,7 @@ from __future__ import print_function
from
math
import
log
from
math
import
log
from
six.moves
import
xrange
import
tensorflow
as
tf
import
tensorflow
as
tf
slim
=
tf
.
contrib
.
slim
slim
=
tf
.
contrib
.
slim
...
...
research/slim/nets/dcgan_test.py
View file @
d90d5280
...
@@ -18,6 +18,7 @@ from __future__ import absolute_import
...
@@ -18,6 +18,7 @@ from __future__ import absolute_import
from
__future__
import
division
from
__future__
import
division
from
__future__
import
print_function
from
__future__
import
print_function
from
six.moves
import
xrange
import
tensorflow
as
tf
import
tensorflow
as
tf
from
nets
import
dcgan
from
nets
import
dcgan
...
...
research/street/python/decoder.py
View file @
d90d5280
...
@@ -25,6 +25,7 @@ import collections
...
@@ -25,6 +25,7 @@ import collections
import
re
import
re
import
errorcounter
as
ec
import
errorcounter
as
ec
from
six.moves
import
xrange
import
tensorflow
as
tf
import
tensorflow
as
tf
# Named tuple Part describes a part of a multi (1 or more) part code that
# Named tuple Part describes a part of a multi (1 or more) part code that
...
...
research/street/python/shapes.py
View file @
d90d5280
...
@@ -24,6 +24,7 @@ tensor_dim: gets a shape dimension as a constant integer if known otherwise a
...
@@ -24,6 +24,7 @@ tensor_dim: gets a shape dimension as a constant integer if known otherwise a
runtime usable tensor value.
runtime usable tensor value.
tensor_shape: returns the full shape of a tensor as the tensor_dim.
tensor_shape: returns the full shape of a tensor as the tensor_dim.
"""
"""
from
six.moves
import
xrange
import
tensorflow
as
tf
import
tensorflow
as
tf
...
...
research/street/python/vgslspecs.py
View file @
d90d5280
...
@@ -23,6 +23,7 @@ from string import maketrans
...
@@ -23,6 +23,7 @@ from string import maketrans
import
nn_ops
import
nn_ops
import
shapes
import
shapes
from
six.moves
import
xrange
import
tensorflow
as
tf
import
tensorflow
as
tf
import
tensorflow.contrib.slim
as
slim
import
tensorflow.contrib.slim
as
slim
...
...
research/syntaxnet/dragnn/python/graph_builder_test.py
View file @
d90d5280
...
@@ -20,6 +20,7 @@ import os.path
...
@@ -20,6 +20,7 @@ import os.path
import
numpy
as
np
import
numpy
as
np
from
six.moves
import
xrange
import
tensorflow
as
tf
import
tensorflow
as
tf
from
google.protobuf
import
text_format
from
google.protobuf
import
text_format
...
...
research/syntaxnet/dragnn/python/network_units.py
View file @
d90d5280
...
@@ -22,6 +22,7 @@ import abc
...
@@ -22,6 +22,7 @@ import abc
import
numpy
as
np
import
numpy
as
np
from
six.moves
import
xrange
import
tensorflow
as
tf
import
tensorflow
as
tf
from
tensorflow.python.ops
import
nn
from
tensorflow.python.ops
import
nn
from
tensorflow.python.ops
import
tensor_array_ops
as
ta
from
tensorflow.python.ops
import
tensor_array_ops
as
ta
...
...
research/syntaxnet/dragnn/python/spec_builder.py
View file @
d90d5280
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
"""Utils for building DRAGNN specs."""
"""Utils for building DRAGNN specs."""
from
six.moves
import
xrange
import
tensorflow
as
tf
import
tensorflow
as
tf
from
dragnn.protos
import
spec_pb2
from
dragnn.protos
import
spec_pb2
...
...
research/syntaxnet/dragnn/python/trainer_lib.py
View file @
d90d5280
...
@@ -23,6 +23,7 @@ import random
...
@@ -23,6 +23,7 @@ import random
import
tensorflow
as
tf
import
tensorflow
as
tf
from
six.moves
import
xrange
from
tensorflow.core.framework.summary_pb2
import
Summary
from
tensorflow.core.framework.summary_pb2
import
Summary
from
tensorflow.python.framework
import
errors
from
tensorflow.python.framework
import
errors
from
tensorflow.python.platform
import
gfile
from
tensorflow.python.platform
import
gfile
...
...
research/tcn/labeled_eval.py
View file @
d90d5280
...
@@ -22,6 +22,7 @@ from collections import defaultdict
...
@@ -22,6 +22,7 @@ from collections import defaultdict
import
os
import
os
import
numpy
as
np
import
numpy
as
np
from
sklearn.metrics.pairwise
import
pairwise_distances
from
sklearn.metrics.pairwise
import
pairwise_distances
from
six.moves
import
xrange
import
data_providers
import
data_providers
from
estimators.get_estimator
import
get_estimator
from
estimators.get_estimator
import
get_estimator
from
utils
import
util
from
utils
import
util
...
...
Prev
1
2
3
4
Next
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