Giter VIP home page Giter VIP logo

Comments (3)

DRSAD avatar DRSAD commented on July 29, 2024

仔细看下原论文,会发现用于计算损失的label就是[q_1,q_2,...,q_{s-1},o_s,o_{s+1},....,o_s],其中q_1,q_2,...,q_{s-1}就是旧模型对于当前训练图片的输出,o_{s+1},....,o_s就是新类别的label,对于新类别图片,o_{s+1},....,o_s会有一个为1,对于旧类别图片,o_s,o_{s+1},....,o_s全为0

from icarl.

lufengjie051523 avatar lufengjie051523 commented on July 29, 2024

from icarl.

njulhy avatar njulhy commented on July 29, 2024

您好,阅读了您的代码,写得很好,有个疑问,这里的损失您好像只计算了蒸馏的损失,对于论文中的第一项损失似乎没有计算?

新类损失在计算交叉熵的时候关于旧类的列标签都是0,所以直接置换旧类的列计算蒸馏损失。

from icarl.

Related Issues (11)

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.