Giter Site home page Giter Site logo

Labels for task>0 about cil_survey HOT 4 CLOSED

Areeb2735 avatar Areeb2735 commented on July 17, 2024
Labels for task>0

from cil_survey.

Comments (4)

zhoudw-zdw avatar zhoudw-zdw commented on July 17, 2024

Hi @Areeb2735, thanks for your interest in our work.

The classes are not mapped to [0,1,2,3,4,5,6,7,8,9], and they are actually in the format of [10,11,12,13,14,15,16,17,18,19]. You can refer to this function for more details. https://github.com/zhoudw-zdw/CIL_Survey/blob/791728c072974da264d985d7e9c4825fdc3d17ff/utils/data_manager.py#L137C5-L137C5

Additionally, you can print the labels during training to see the labels.

from cil_survey.

Areeb2735 avatar Areeb2735 commented on July 17, 2024

Thanks.

But then how is the loss computed? Given that you are using cross-entropy loss, the targets are the index. Now the targets are [10,11,12,13,14,15,16,17,18,19].

from cil_survey.

zhoudw-zdw avatar zhoudw-zdw commented on July 17, 2024

In class-incremental learning, the classifier is expanded after each task.

So you have a classifier that outputs 20 dims at the second stage, 30 for the third stage, etc.

See here for the classifier update.

self._network.update_fc(self._total_classes)

from cil_survey.

Areeb2735 avatar Areeb2735 commented on July 17, 2024

Thank you

from cil_survey.

Related Issues (6)

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.