GithubHelp home page GithubHelp logo

fine-tuning-nos's Introduction

Fine-tuning Neural-Operator architectures for training and generalization.

This is the official implementation of the paper "Fine-tuning Neural-Operator architectures for training and generalization".

Get started (Libraries)

If you want to reproduce all the results (including the baselines) shown in the paper,

You can then set up a conda environment with all dependencies like so:

conda env create -f environment.yaml
conda activate forward-operator

Dataset

The data set is proportioned upon request. It must be located in a directory with the following structure:

databases/acoustic/GRF_{Freq}Hz/data
databases/acoustic/GRF_{Freq}Hz/model

In the place holder is $7, 12, 15$ Hz the Frequencies of the experiments. The configuration for the experiments are located in

dataset_time-harmonic-waves_hawen_parameters

Configuration of architectures

All the architectures' parameters are located in /config directory.

config/acoustic/GRF_{Freq}Hz/<Architecture>.yaml

Traning

They can be trained with

CUDA_VISIBLE_DEVICES={k} python3 main.py -c <path_to_config_file>

Evaluation

We train multiple times in the code. The evaluation is a function of the amoung of saving files. It can be implemented as follows

CUDA_VISIBLE_DEVICES={k} python3 evaluation.py -n <number_training_save_model> -c <path_to_config_file>

Plot (no visualization)

The same structure follows for plotting

 python3 reconstruction_plot.py -c <path_to_config_file>

Loss Landscape visualization

visualization_code

fine-tuning-nos's People

Contributors

jalb-epsilon avatar

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.