Skip to main content

A collection of gpu-compatible solvers for fused unbalanced gromov-wasserstein optimization problems

Project description

Fused Unbalanced Gromov-Wasserstein for Python

build python version license code style

This package implements multiple GPU-compatible PyTorch solvers to the Fused Unbalanced Gromov-Wasserstein optimal transport problem.

This package is under active development. There is no guarantee that the API and solvers won't change in the near future.

Installation

To install this package, make sure you have an up-to-date version of pip.

From PyPI

In a dedicated Python env, run:

pip install fugw

From source

git clone https://github.com/alexisthual/fugw.git
cd fugw

In a dedicated Python env, run:

pip install -e .

Contributors should also install the development dependencies in order to test and automatically format their contributions.

pip install -e ".[dev]"
pre-commit install

Tests run on CPU and GPU, depending on the configuration of your machine. You can run them with:

pytest

Citing this work

If this package was useful to you, please cite it in your work:

@article{Thual-2022-fugw,
  title={Aligning individual brains with Fused Unbalanced Gromov-Wasserstein},
  author={Thual, Alexis and Tran, Huy and Zemskova, Tatiana and Courty, Nicolas and Flamary, Rémi and Dehaene, Stanislas and Thirion, Bertrand},
  publisher={arXiv},
  doi={10.48550/ARXIV.2206.09398},
  url={https://arxiv.org/abs/2206.09398},
  year={2022},
  copyright={Creative Commons Attribution 4.0 International}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fugw-0.1.1.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fugw-0.1.1-py3-none-any.whl (41.3 kB view details)

Uploaded Python 3

File details

Details for the file fugw-0.1.1.tar.gz.

File metadata

  • Download URL: fugw-0.1.1.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for fugw-0.1.1.tar.gz
Algorithm Hash digest
SHA256 88b1d3c12f03709c7961e4abe5774be7d3214e727d28fb553378e29ac6b620a9
MD5 bc3e8efeccca970a16b157435dfaff7c
BLAKE2b-256 a35d252a617a9c2b28126cc75081993a065891a4de147ba3a171b4420bb41c4b

See more details on using hashes here.

File details

Details for the file fugw-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: fugw-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 41.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for fugw-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee25b5385a34ae47bd9ffd0707867afdea2c75e0043d2777883f3648efae5abf
MD5 adbe3d0b33bdb2362a9b5437bce6f8f6
BLAKE2b-256 854302e2c1f707e627b4d5af4427e209530a7592748e740e394a2e962f7f1397

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page