Giter Site home page Giter Site logo

kaist-silab / graphsplinenets Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 1.0 25.31 MB

[NeurIPS 23] Official Code for "Learning Efficient Surrogate Dynamic Models with Graph Spline Networks"

Home Page: https://neurips.cc/virtual/2023/poster/71917

Jupyter Notebook 80.05% Python 19.78% Makefile 0.14% Shell 0.03%
collocation-method forecasting graph-neural-networks

graphsplinenets's Introduction

GraphSplineNets

PyTorch Lightning Config: Hydra Template

Repository has work in progress - Arxiv paper, OpenReview, and final touches coming soon!

Description

GraphSplineNets code based on the Lightning Hydra Template

How to run

Clone repository

First, download the repository on Anonymous Github by running this on a terminal:

curl -sSL https://anonymous.4open.science/r/graphsplinenets/src/utils/download_anonymous_github.py | python3 -

or use the downloader script and run it with your favorite Python interpreter. Note that we use the above since Anonymous Github is currently not providing a way to download the repository as a zip file.

Install dependencies

# Automatically install dependencies with light the torch
pip install light-the-torch && python3 -m light_the_torch install --upgrade -r requirements.txt

The above script will automatically install PyTorch with the right GPU version for your system. Alternatively, you can use pip install -r requirements.txt

Quick Start

Run the example notebook:

python run.py experiment=example

Examples

Train model with chosen experiment configuration from configs/experiment/

Train model with default configuration

# train on CPU
python run.py trainer=cpu

# train on GPU
python run.py trainer=gpu

You can override any parameter from command line like this

python run.py trainer.max_epochs=20 datamodule.batch_size=64

graphsplinenets's People

Contributors

cbhua avatar fedebotu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

mr-nobody-dey

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.