Giter Club home page Giter Club logo

Comments (6)

lululxvi avatar lululxvi commented on June 20, 2024 1

In the line

data = dde.data.PDE(geom, pde, bc, num_domain=1200, num_boundary=120, num_test=1500)

you only need to specify the number of training points, and then DeepXDE will automatically set up the training points for you (random uniform in the domain).

If you don't want DeepXDE to do this for you, you can also specify the locations of the training points using:

dde.data.PDE(..., anchors=X)

where X is a N by d matrix of total N points, with each row is one point of d-dim.

from deepxde.

hbadi avatar hbadi commented on June 20, 2024

Hi,
Nive job !
1 - I manage to run this example but the simulation is very slow, it takes 15min, is it normal ?
2 - Is there a way to define multiple geometry domain ? I'd like to solve the heat equation in a decomposed domain \Omega_i (each one have a conductivity coefficient).
3 - When do you plan to switch to tensorflow 2 ?

Best regards.

from deepxde.

lululxvi avatar lululxvi commented on June 20, 2024

@hbadi

  • Which version are you using, and which example? Update to the latest version if not.
  • Yes, you can define a geometry composed from more than one sub-domains, e.g.,
geom1 = dde.geometry.Rectangle(...)
geom2 = dde.geometry.Disk(...)
geom = geom1 | geom2

For more details, check Fig 6 in the paper.

  • Hopefully, TF 2 will be supported in one month.

from deepxde.

hbadi avatar hbadi commented on June 20, 2024

I ran the L-shape laplacian with deepxde installed from pip (version 0.5)

from deepxde.

lululxvi avatar lululxvi commented on June 20, 2024

There is a bug in v0.5.0. You can either upgrade to v0.5.1, or to the latest version 0.6.0. I recommend v0.6.0, but there is an API change in PDE class (check the examples).

from deepxde.

lululxvi avatar lululxvi commented on June 20, 2024

TF2 is supported.

from deepxde.

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.