"docs/git@developer.sourcefind.cn:change/sglang.git" did not exist on "8d1095dbf0565cb7d6e5e3d10728a6542c8db6ae"
Commit cd850550 authored by cclauss's avatar cclauss
Browse files

from six.moves import xrange (en masse) YET AGAIN

parent 2913cb24
...@@ -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):
......
...@@ -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')
......
...@@ -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:
......
...@@ -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):
......
...@@ -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
......
...@@ -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
......
...@@ -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
......
...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment