Giter Site home page Giter Site logo

Loss function returns 0 after first epoch for training set only when using validation data in training about tf-levenberg-marquardt HOT 4 CLOSED

fabiodimarco avatar fabiodimarco commented on July 20, 2024
Loss function returns 0 after first epoch for training set only when using validation data in training

from tf-levenberg-marquardt.

Comments (4)

fabiodimarco avatar fabiodimarco commented on July 20, 2024

Hi @sabre-sr, thank you for reporting the issue. I'll look into it later today. What are the input output dimensions of the data you are using?

from tf-levenberg-marquardt.

sabre-sr avatar sabre-sr commented on July 20, 2024

Thank you for your swift reply.
My data has dimensions of 48 floats as inputs and 24 floats as outputs, with 365 samples - 48x365 and 24x365 respectively.
Modifications to sample size (48x760/24x760), as well as modifying validation split ratio or splitting data with train_test_split() from sklearn library didn't resolve the issue.

I'm also attaching library versions below:

Tensorflow/Keras: 2.10.0
pandas: 1.5.3
numpy: 1.24.2
sklearn: 1.2.1

Thank you in advance for your help.

from tf-levenberg-marquardt.

fabiodimarco avatar fabiodimarco commented on July 20, 2024

I committed a fix for that. Let me know if it does work on your side.

from tf-levenberg-marquardt.

sabre-sr avatar sabre-sr commented on July 20, 2024

The fix works, thank you very much once again. The issue can be now closed.

from tf-levenberg-marquardt.

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.