Skip to content

Commit cd85055

Browse files
author
cclauss
committed
from six.moves import xrange (en masse) YET AGAIN
1 parent 2913cb2 commit cd85055

File tree

8 files changed

+10
-1
lines changed

8 files changed

+10
-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
@@ -94,6 +94,8 @@
9494

9595
import numpy as np
9696
import tensorflow as tf
97+
from six.moves import xrange
98+
9799

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

research/slim/datasets/preprocess_imagenet_validation_data.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@
4949
from __future__ import print_function
5050

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

54+
from six.moves import xrange
55+
5556

5657
if __name__ == '__main__':
5758
if len(sys.argv) < 3:

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

9091
class BoundingBox(object):

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

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
@@ -20,6 +20,7 @@
2020
from math import log
2121

2222
import tensorflow as tf
23+
from six.moves import xrange
2324
slim = tf.contrib.slim
2425

2526

research/slim/nets/dcgan_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
from __future__ import print_function
2020

2121
import tensorflow as tf
22+
from six.moves import xrange
2223
from nets import dcgan
2324

2425

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)