Selaa lähdekoodia

Merge pull request #279 from hidesuke/refactor

"threads" declared twice, so delete one
drpngx 9 vuotta sitten
vanhempi
commit
d197af6174
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  1. 0 1
      inception/inception/data/build_image_data.py

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

@@ -300,7 +300,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]])