Git Product home page Git Product logo

bfno-node's Introduction

Operator-learning-inspired Modeling of Neural Ordinary Differential Equations (AAAI 2024)

Introduction

This repository contains pytorch implementation for our AAAI 2024 paper:

Operator-learning-inspired Modeling of Neural Ordinary Differential Equations

Experimental environment settings.

Run the following code before starting the experiment.

conda env create -f requirements.yaml

Training / Test

Run the following code for training / test.

python main.py --tol 1e-3 --epochs 10 --batch_size 64 --hidden_size 76 

If you want to train and test in a different environmental setting, it can be done by changing the parsers below.

[ parser ]      [ Description of parser ]
--tol          : DOPRI-5 error tolerance
--epochs       : Number of epoch
--batch_size   : Batch size
--hidden_size  : Size of hidden vector

We release code for image classification tasks (CIFAR-10 dataset).

Test (Only)

If you want to evaluate it quickly, run the following code :

python test.py --path './model/10.pt'

[ parser ]      [ Description of parser ]
--path         : The path where checkpoint exists

Oher codes

[ code ]        [ Description of code ]
main.py         : Code for training and testing.
models.py       : Our model 
utils.py        : Modules required during training
test.py         : Code for testing.

Checkpoint

We provide checkpoint of trained BFNO-NODE(our model), which are located in the ./model folder.

bfno-node's People

Contributors

woojin-cho 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.