Code Monkey home page Code Monkey logo

Comments (2)

xylcbd avatar xylcbd commented on July 18, 2024

可以,你需要确认你的数据的标签是正确有效的,另外要确保输入形状和输出类别数符合预期:https://github.com/xylcbd/EasyCNN/blob/master/examples/mnist/mnist_train_test.cpp#L349

from easycnn.

xiongmingzhi avatar xiongmingzhi commented on July 18, 2024

可以,你需要确认你的数据是正确有效的,另外要确保输入的形状和输出类别符合标签:https ://github.comylcbd/EasyCNN/blob/master/examples/mnist/mnist_train_test.cpp #L349

非常感谢你的回复,我将我的数据放入模型中进行训练,出现epoch[19] val_loss : nan , val_accuracy : 0.0000%,这种错误,我调试查看是因为在计算交叉熵时出现了负数,随后继续追踪数据,似乎是在前向传播中产生了负数导致的,对于这个问题我有点束手无策,希望能得到你的帮助。。。

from easycnn.

Related Issues (8)

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.