Browse Source

Merge pull request #279 from hidesuke/refactor

"threads" declared twice, so delete one
drpngx 9 năm trước cách đây
mục cha
commit
d197af6174
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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]])