Coder Social home page Coder Social logo

Comments (3)

mrpositron avatar mrpositron commented on July 30, 2024

We perform the same number of function evaluations. Thus, I don't get how x affects the training.

from torchdyn.

massastrello avatar massastrello commented on July 30, 2024

@mrpositron Although it is not possible to answer your question in a concise manner, I would say that the phenomenon you are experiencing is related to the following models choice (which you did not specify):

  1. Vector field type if your vector field explicitly depends on time (i.e. f=f(s, z))), then different s_span in training should likely lead to very different vector fields and thus different training dynamics.
  2. ODE solver and backprop sensitivity

from torchdyn.

mrpositron avatar mrpositron commented on July 30, 2024

Thanks for your reply!

I did not specify abot my model choise. I am sorry.
My model consists of GRU encoder and NODE decoder. (i.e. RNN-NODE). Here is a chunk of my code that defines Neural ODE:

self.ode_solve = NeuralDE(self.func, sensitivity = 'autograd', solver = 'rk4', s_span = self.span)

During forward pass I get values from the trajectory obtained from the self.ode_solve (trajectory = self.ode_solve.trajectory(hidden, self.span)) and pass it to fc layer.

from torchdyn.

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.