瀏覽代碼

Merge pull request #279 from hidesuke/refactor

"threads" declared twice, so delete one
drpngx 9 年之前
父節點
當前提交
d197af6174
共有 1 個文件被更改,包括 0 次插入1 次删除
  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]])