Git Product home page Git Product logo

Comments (1)

Nikronic avatar Nikronic commented on May 22, 2024

Training and Test loss without normalization:

[1,     1] loss: 0.505
[2,     1] loss: 0.435
[3,     1] loss: 0.418
[4,     1] loss: 0.315
[5,     1] loss: 0.282
[6,     1] loss: 0.325
[7,     1] loss: 0.251
[8,     1] loss: 0.254
[9,     1] loss: 0.172
[10,     1] loss: 0.198
[11,     1] loss: 0.150
[12,     1] loss: 0.151
[13,     1] loss: 0.129
[14,     1] loss: 0.088
[15,     1] loss: 0.118
[16,     1] loss: 0.089
[17,     1] loss: 0.092
[18,     1] loss: 0.079
[19,     1] loss: 0.087
[20,     1] loss: 0.065
Finished Training
loss: 0.104

output:

out_simple

Train and Test loss with normalization:

[1,     1] loss: 1.942
[2,     1] loss: 1.694
[3,     1] loss: 1.552
[4,     1] loss: 1.482
[5,     1] loss: 1.490
[6,     1] loss: 1.457
[7,     1] loss: 1.404
[8,     1] loss: 1.344
[9,     1] loss: 1.263
[10,     1] loss: 1.101
[11,     1] loss: 1.143
[12,     1] loss: 1.136
[13,     1] loss: 1.071
[14,     1] loss: 0.975
[15,     1] loss: 0.925
[16,     1] loss: 0.894
[17,     1] loss: 0.791
[18,     1] loss: 0.759
[19,     1] loss: 0.741
[20,     1] loss: 0.670
Finished Training
loss: 0.520

output:

out_norm

And finally, I have used

normalize = transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))

from edgenet.

Related Issues (1)

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.