Skip to content

Commit 6daba3b

Browse files
authored
Merge pull request #3702 from cclauss/from-six.moves-import-xrange-yet-again
from six.moves import xrange (en masse) YET AGAIN
2 parents 001a2a6 + cd85055 commit 6daba3b

File tree

8 files changed

+8
-1
lines changed

8 files changed

+8
-1
lines changed

research/lexnet_nc/lexnet_model.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import lexnet_common
2222
import numpy as np
2323
import tensorflow as tf
24+
from six.moves import xrange
2425

2526

2627
class LexNETModel(object):

research/slim/datasets/build_imagenet_data.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@
9595
import numpy as np
9696
from six.moves import xrange
9797
import tensorflow as tf
98+
from six.moves import xrange
99+
98100

99101
tf.app.flags.DEFINE_string('train_directory', '/tmp/',
100102
'Training data directory')

research/slim/datasets/preprocess_imagenet_validation_data.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
from __future__ import print_function
5050

5151
import os
52-
import os.path
5352
import sys
5453

5554
from six.moves import xrange

research/slim/datasets/process_bounding_boxes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
import os.path
8686
import sys
8787
import xml.etree.ElementTree as ET
88+
from six.moves import xrange
8889

8990
from six.moves import xrange
9091

research/slim/nets/cyclegan.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import numpy as np
2121
from six.moves import xrange
2222
import tensorflow as tf
23+
from six.moves import xrange
2324

2425
layers = tf.contrib.layers
2526

research/slim/nets/dcgan.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
from six.moves import xrange
2323

2424
import tensorflow as tf
25+
from six.moves import xrange
2526
slim = tf.contrib.slim
2627

2728

research/slim/nets/dcgan_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
from six.moves import xrange
2222
import tensorflow as tf
23+
from six.moves import xrange
2324
from nets import dcgan
2425

2526

research/swivel/glove_to_shards.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
import sys
4545

4646
import tensorflow as tf
47+
from six.moves import xrange
4748

4849
flags = tf.app.flags
4950

0 commit comments

Comments
 (0)