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
6daba3b4
Unverified
Commit
6daba3b4
authored
Mar 22, 2018
by
Neal Wu
Committed by
GitHub
Mar 22, 2018
Browse files
Merge pull request #3702 from cclauss/from-six.moves-import-xrange-yet-again
from six.moves import xrange (en masse) YET AGAIN
parents
001a2a61
cd850550
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
1 deletion
+8
-1
research/lexnet_nc/lexnet_model.py
research/lexnet_nc/lexnet_model.py
+1
-0
research/slim/datasets/build_imagenet_data.py
research/slim/datasets/build_imagenet_data.py
+2
-0
research/slim/datasets/preprocess_imagenet_validation_data.py
...arch/slim/datasets/preprocess_imagenet_validation_data.py
+0
-1
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
-0
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/swivel/glove_to_shards.py
research/swivel/glove_to_shards.py
+1
-0
No files found.
research/lexnet_nc/lexnet_model.py
View file @
6daba3b4
...
@@ -21,6 +21,7 @@ from __future__ import print_function
...
@@ -21,6 +21,7 @@ from __future__ import print_function
import
lexnet_common
import
lexnet_common
import
numpy
as
np
import
numpy
as
np
import
tensorflow
as
tf
import
tensorflow
as
tf
from
six.moves
import
xrange
class
LexNETModel
(
object
):
class
LexNETModel
(
object
):
...
...
research/slim/datasets/build_imagenet_data.py
View file @
6daba3b4
...
@@ -95,6 +95,8 @@ import threading
...
@@ -95,6 +95,8 @@ import threading
import
numpy
as
np
import
numpy
as
np
from
six.moves
import
xrange
from
six.moves
import
xrange
import
tensorflow
as
tf
import
tensorflow
as
tf
from
six.moves
import
xrange
tf
.
app
.
flags
.
DEFINE_string
(
'train_directory'
,
'/tmp/'
,
tf
.
app
.
flags
.
DEFINE_string
(
'train_directory'
,
'/tmp/'
,
'Training data directory'
)
'Training data directory'
)
...
...
research/slim/datasets/preprocess_imagenet_validation_data.py
View file @
6daba3b4
...
@@ -49,7 +49,6 @@ from __future__ import division
...
@@ -49,7 +49,6 @@ from __future__ import division
from
__future__
import
print_function
from
__future__
import
print_function
import
os
import
os
import
os.path
import
sys
import
sys
from
six.moves
import
xrange
from
six.moves
import
xrange
...
...
research/slim/datasets/process_bounding_boxes.py
View file @
6daba3b4
...
@@ -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
from
six.moves
import
xrange
from
six.moves
import
xrange
...
...
research/slim/nets/cyclegan.py
View file @
6daba3b4
...
@@ -20,6 +20,7 @@ from __future__ import print_function
...
@@ -20,6 +20,7 @@ from __future__ import print_function
import
numpy
as
np
import
numpy
as
np
from
six.moves
import
xrange
from
six.moves
import
xrange
import
tensorflow
as
tf
import
tensorflow
as
tf
from
six.moves
import
xrange
layers
=
tf
.
contrib
.
layers
layers
=
tf
.
contrib
.
layers
...
...
research/slim/nets/dcgan.py
View file @
6daba3b4
...
@@ -22,6 +22,7 @@ from math import log
...
@@ -22,6 +22,7 @@ from math import log
from
six.moves
import
xrange
from
six.moves
import
xrange
import
tensorflow
as
tf
import
tensorflow
as
tf
from
six.moves
import
xrange
slim
=
tf
.
contrib
.
slim
slim
=
tf
.
contrib
.
slim
...
...
research/slim/nets/dcgan_test.py
View file @
6daba3b4
...
@@ -20,6 +20,7 @@ from __future__ import print_function
...
@@ -20,6 +20,7 @@ from __future__ import print_function
from
six.moves
import
xrange
from
six.moves
import
xrange
import
tensorflow
as
tf
import
tensorflow
as
tf
from
six.moves
import
xrange
from
nets
import
dcgan
from
nets
import
dcgan
...
...
research/swivel/glove_to_shards.py
View file @
6daba3b4
...
@@ -44,6 +44,7 @@ import struct
...
@@ -44,6 +44,7 @@ import struct
import
sys
import
sys
import
tensorflow
as
tf
import
tensorflow
as
tf
from
six.moves
import
xrange
flags
=
tf
.
app
.
flags
flags
=
tf
.
app
.
flags
...
...
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