Git Product home page Git Product logo

Comments (5)

BestiVictory avatar BestiVictory commented on August 31, 2024 1

你的代码用到了net.predict函数,需要把最后一层改成这样:
layers {
name: "loss1/loss"
type: SOFTMAX
bottom: "loss1/classifier_cjy"
top: "prob"
}

from ilgnet.

BestiVictory avatar BestiVictory commented on August 31, 2024

你可以将deploy.prototxt里面的最后一层的类型SOFTMAX_LOSS改为SOFTMAX

from ilgnet.

shinebay avatar shinebay commented on August 31, 2024

@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.

shinebay avatar shinebay commented on August 31, 2024

@BestiVictory 额。。。改了之后就是:
F0503 09:54:48.940515 67 insert_splits.cpp:35] Unknown bottom blob 'prob' (layer 'loss1/loss', bottom index 1)

from ilgnet.

BestiVictory avatar BestiVictory commented on August 31, 2024

抱歉由于工作原因没有及时回复你的消息,我已经更新了deploy及test的脚本,你可以使用我的脚本及deploy文件进行测试。

from ilgnet.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.