提交 5250b9b2 编写于 作者: L Liang Zhao

fix classificationError input

上级 e00f06af
......@@ -83,7 +83,7 @@ public:
errorMat->zeroMem();
if (label != nullptr) {
errorMat->classificationError(output, label); // top-1 error
errorMat->classificationError(*output, *label); // top-1 error
size_t height = output->getHeight();
size_t width = 5; // config_.num_results();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册