【发布时间】:2015-11-21 08:28:12
【问题描述】:
我trained 是一个使用 MNIST example architecture 的模型(但在我自己的 3 个图像类集上),并且一直在尝试将其集成到 C++ example 中。我修改了 MNIST 架构文件,使其类似于 C++ example (replacing the train and test layers with the input layer) 的 deploy.prototxt 文件。
不幸的是,当我运行 C++ 程序时,它给了我以下错误:
F0827 14:57:28.427697 25511 insert_splits.cpp:35] 未知的底部 blob 'label'(图层'accuracy',底部索引1)
我尝试用 Google 搜索它,我认为 MNIST 和 C++ 示例的文件中的层之间存在一些差异,但无法弄清楚我可以更改哪些内容来完成这项工作。
【问题讨论】:
-
你去掉了accuracy和loss层吗?部署中不再需要它们。
-
感谢您的帮助!这就是我所缺少的大部分内容:)
标签: c++ machine-learning neural-network deep-learning caffe