Explorar o código

"threads" declared twice, so delete one

Yusuke HIDESHIMA %!s(int64=9) %!d(string=hai) anos
pai
achega
6d0722dc02
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      inception/inception/data/build_image_data.py

+ 0 - 1
inception/inception/data/build_image_data.py

@@ -298,7 +298,6 @@ def _process_image_files(name, filenames, texts, labels, num_shards):
   # Break all images into batches with a [ranges[i][0], ranges[i][1]].
   spacing = np.linspace(0, len(filenames), FLAGS.num_threads + 1).astype(np.int)
   ranges = []
-  threads = []
   for i in xrange(len(spacing) - 1):
     ranges.append([spacing[i], spacing[i+1]])