Skip to content

Rubiksman78/Pole_projet_PINN

Repository files navigation

Pole Projet PINN

Modelisation of seismic wave propagation with Physics Informed Neural Networks. This project aims to simplify the usage of this new technology by proposing an intuitive and easy way to train your own PINN.

Yes it is not a dream, you can train your own Neural Network even if you are not an ML scientist !

Not this one :

PIN

But this one:

PINN

Projet structure

  • models :

    -> kernel_upgrade : implementation of NTK method

    -> model : neural network model and train step

  • physics :

    -> equation : PDE and boundary conditions

    -> initial : setting of all training points

  • results

  • utils :

    -> plot : plotting functions in 1D, 2D or 3D

  • root :

    -> interface : training with Tkinter interface for parameters

    -> pinn_code : training with parser and command line for long experiments

    -> config : file for config parameters

Installation

Simply clone the project :

git clone https://github.com/Rubiksman78/Pole_projet_PINN.git
cd school-idol-training

Install the requirements :

pip install -r requirements.txt

Install FFMPEG from their website

How to use it

I don't like command line because ML is too dark for me

You don't like to use your command line with dozens of arguments, just use the interface we've made for you.

python interface.py

Enter the conditions and the parameters you want for your equation as well as the hyperparameters for your Neural Network. Wait until your PINN is finished training. Admire the result.

I want to do more experiments because I am a pro ML engineer

Just go to the config.py file and modify the parameters for the training then launch the main file with

python pinn_code.py -epochs=100 ...

Coming (soon)

Many improvements will be made in the future :

  • Improving the architecture of the model used
  • Giving more support for 2D and 3D modelisation
  • Support for heterogenous domains and waves

About

TF2 Implementation of Physics Informed Neural Networks and Neural Tangent Kernel

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages