Comments (5)
你的代码用到了net.predict函数,需要把最后一层改成这样:
layers {
name: "loss1/loss"
type: SOFTMAX
bottom: "loss1/classifier_cjy"
top: "prob"
}
from ilgnet.
你可以将deploy.prototxt里面的最后一层的类型SOFTMAX_LOSS改为SOFTMAX
from ilgnet.
@BestiVictory 谢谢,按照您的指示:deploy.prototxt里面的最后一层的类型
layers {
name: "loss1/loss"
type: SOFTMAX
bottom: "loss1/classifier_cjy"
bottom: "label"
}
更改后运行:
F0502 11:37:13.672961 60 insert_splits.cpp:35] Unknown bottom blob 'label' (layer 'loss1/loss', bottom index 1)
*** Check failure stack trace: ***
Aborted (core dumped)
还是这个错误,麻烦您了
from ilgnet.
@BestiVictory 额。。。改了之后就是:
F0503 09:54:48.940515 67 insert_splits.cpp:35] Unknown bottom blob 'prob' (layer 'loss1/loss', bottom index 1)
from ilgnet.
抱歉由于工作原因没有及时回复你的消息,我已经更新了deploy及test的脚本,你可以使用我的脚本及deploy文件进行测试。
from ilgnet.
Related Issues (12)
- caffe新手,能提供详细一点的使用说明吗?
- 想请教一下AVA1的具体训练参数
- 用自己的数据集fine-tune时,预训练模型用哪一个好?
- difference between train.prototxt and ILGNet_v4.prototxt HOT 1
- How to do the prediction via pretrained model? HOT 4
- why different output of the same image in two different test? HOT 4
- 测试了10万张图片,试验结果感觉很不理想,这是最高分图片截图: HOT 7
- How to deploy? : ) HOT 5
- why the image numbers of test set in this repository and in the paper are different ? HOT 1
- AVA数据集在哪里下载 HOT 11
- Random output value for same image HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ilgnet.