Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经实现了一个基于深度学习的微笑检测系统。最底层是系统的输出,根据人的微笑量有10个输出。 我想用回归层将这十个输出转换为 1 到 10 范围内的数字输出。 我怎样才能在咖啡中做到这一点? 谢谢
为了将 10 个输出转换为单个输出,您需要一个"InnerProduct"具有 10 个输入和一个输出的层。要训练这一层,您还需要在已有的 10 个输出层之上添加一个适合回归的损失层。 这样的损失层可以是例如欧几里得损失层或Ross Girshick的平滑L1损失层。
"InnerProduct"