Code Monkey home page Code Monkey logo

Comments (4)

zongyi-li avatar zongyi-li commented on September 13, 2024

It sounds like there is a bug in the setup, so the model can't learn anything.
Just to check, when you call the FNO model, did you use out = model(u, x_in= x_in, x_out= x_out), where x_in is (x_in, y_in) and x_out is (x_out, y_out).

And to begin, it may be helpful to define the deformation IPHI as a constant function (just return x in the forward function).

A few more questions:
what is your Number of samples?
what are the training and testing/validation errors?

from geo-fno.

jinyi12 avatar jinyi12 commented on September 13, 2024

Hi! Thanks for the prompt reply!

I did use out = model(u, x_in = x_in, x_out = x_out). u have shape [batch_size, Number of mesh points, 3].
Just to clarify, my x_out and y_out are x coordinates and y coordinates of the output field respectively.

Number of samples: 3207
Both training and validation errors floats around a constant after just 2 or 3 epochs.

Will definitely try out having the deformation IPHI as a constant function.

Thanks!

from geo-fno.

jinyi12 avatar jinyi12 commented on September 13, 2024

Hi! With the deformation IPHI set as a constant function, the output I am receiving is the same as before, which is a constant value for all points on the mesh.

from geo-fno.

jinyi12 avatar jinyi12 commented on September 13, 2024

Hi, thank you for your time, as I have found the issue lies within the output data construction.

Best,
Jin

from geo-fno.

Related Issues (12)

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.