浏览代码

Fix misprint in ratio

DricomDragon 5 年之前
父节点
当前提交
91e01907ea
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      python/lab/benchmark.py

+ 1 - 1
python/lab/benchmark.py

@@ -28,4 +28,4 @@ def computePrecision(net):
 		if (np.argmax(a2) == np.argmax(np_expected[:,k])):
 			nbSuccess += 1
 
-	return nbSuccess / nmSamples
+	return nbSuccess / nbSamples