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
cd850550
"docs/git@developer.sourcefind.cn:change/sglang.git" did not exist on "8d1095dbf0565cb7d6e5e3d10728a6542c8db6ae"
Commit
cd850550
authored
Mar 22, 2018
by
cclauss
Browse files
from six.moves import xrange (en masse) YET AGAIN
parent
2913cb24
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
1 deletion
+10
-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
+2
-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 @
cd850550
...
@@ -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 @
cd850550
...
@@ -94,6 +94,8 @@ import threading
...
@@ -94,6 +94,8 @@ import threading
import
numpy
as
np
import
numpy
as
np
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 @
cd850550
...
@@ -49,9 +49,10 @@ from __future__ import division
...
@@ -49,9 +49,10 @@ 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
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
if
len
(
sys
.
argv
)
<
3
:
if
len
(
sys
.
argv
)
<
3
:
...
...
research/slim/datasets/process_bounding_boxes.py
View file @
cd850550
...
@@ -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 @
cd850550
...
@@ -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
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 @
cd850550
...
@@ -20,6 +20,7 @@ from __future__ import print_function
...
@@ -20,6 +20,7 @@ from __future__ import print_function
from
math
import
log
from
math
import
log
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 @
cd850550
...
@@ -19,6 +19,7 @@ from __future__ import division
...
@@ -19,6 +19,7 @@ from __future__ import division
from
__future__
import
print_function
from
__future__
import
print_function
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 @
cd850550
...
@@ -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