Giter Site home page Giter Site logo

Loss is becoming negative about mcd_da HOT 3 OPEN

mil-tokyo avatar mil-tokyo commented on July 3, 2024
Loss is becoming negative

from mcd_da.

Comments (3)

postBG avatar postBG commented on July 3, 2024

I guess so.

from mcd_da.

JiaoJinyang avatar JiaoJinyang commented on July 3, 2024

Because the author used the nll_loss...

from mcd_da.

Dr-Zhou avatar Dr-Zhou commented on July 3, 2024

Very nice work! During my training, I found that loss can become negative:

Train Epoch: 198 [0/100 (0%)]	Loss1: 0.024868	 Loss2: 0.022132	  Discrepancy: 0.018226

Test set: Average loss: -0.0588, Accuracy C1: 9449/10000 (94%) Accuracy C2: 9509/10000 (95%) Accuracy Ensemble: 9554/10000 (96%) 

recording record/usps_mnist_k_4_alluse_no_onestep_False_1_test.txt
Train Epoch: 199 [0/100 (0%)]	Loss1: 0.012343	 Loss2: 0.020431	  Discrepancy: 0.030520

Test set: Average loss: -0.0581, Accuracy C1: 9419/10000 (94%) Accuracy C2: 9518/10000 (95%) Accuracy Ensemble: 9537/10000 (95%) 

recording record/usps_mnist_k_4_alluse_no_onestep_False_1_test.txt

Do you think this is normal?

have you solve this problem?and If my pytorch version is 0.4.1.could I get the same peformance?

from mcd_da.

Related Issues (20)

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.