facebookarchive/caffe2

Accuracy requires INT32 while OneHot requires INT64

Open

#1,402 建立於 2017年10月30日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Shell (8,424 star) (1,954 fork)batch import
enhancementhelp wanted

描述

The operator Accuracy() takes parameter labels as type core.DataType.INT32. OneHot() takes parameter indices as type core.DataType.INT64. LabelCrossEntropy() takes label as type core.DataType.INT32. It's a bit waste of time to cast the label back and forth, hope there is alignment. Thx.

貢獻者指南

Accuracy requires INT32 while OneHot requires INT64 · facebookarchive/caffe2#1402 | Good First Issue