Giter Site home page Giter Site logo

free-nets's Introduction

Free nets

This repository contains code accompanying the paper “Any-dimensional equivariant neural networks”. It includes simple implementations of the computational recipe defined in the paper and scripts to run all the numerical experiments in the paper.

Warning: the instructions assume that your current working directory is the base of this repository.

One-time setup

For the following instructions, you will need Python 3.9 and pip installed. Consider creating a virtual environment for this project. For example, by running:

$ python -m venv .venv
$ source .venv/bin/activate

Then, install the requirements:

$ pip install -e .[EXPTS]

Running experiments

All the scripts to run the numerical examples are in the experiments folders. Here is a table with all the scripts.

The results will be saved to a new folder within the results directory.

Warning: running any of this experiments might take a while.

Script
free_trace.py
free_diagonal_extraction.py
free_symmetric_projection.py
free_singular_vector.py
free_O_invariant.py

Generating figures

After running any of the scripts above, you will have a new folder within the directory results/<name_of_experiment>. Modify the last few lines of the script experiments/generate_figures.py to include said folder. Run

$ python generate_figures.py

this will generate images like the ones in the paper. If you don’t modify the path in this script, it will simply generate the figures in the paper.

free-nets's People

Contributors

mfinzi avatar mateodd25 avatar cjrd avatar deepsourcebot avatar gelevlove avatar

Stargazers

NguyenS (he/him) avatar Amadeusine avatar Julian Schäfer-Zimmermann avatar Theo Brown avatar Radhakrishna Sanka avatar Michael J. Williams avatar TaeYoung Kim avatar skyetomez avatar Sam Buchanan avatar  avatar Jason Ken Adhinarta avatar  avatar

Watchers

 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.