GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing www.kernel-operations.io — Geometric Loss functions between sampled measures, images and volumes — GeomLoss Geometric Loss functions between sampled measures, images and volumesThe GeomLoss library provides efficient GPU implementations for:
Note We're hiring! A two-year postdoctoral position in Paris is currently open. It is hosted on GitHub
and distributed under the permissive MIT license. GeomLoss functions
are available through the custom PyTorch layers
A typical sample of code looks like: import torch from geomloss import SamplesLoss # See also ImagesLoss, VolumesLoss # Create some large point clouds in 3D x = torch.randn(100000, 3, requires_grad=True).cuda() y = torch.randn(200000, 3).cuda() # Define a Sinkhorn (~Wasserstein) loss between sampled measures loss = SamplesLoss(loss="sinkhorn", p=2, blur=.05) L = loss(x, y) # By default, use constant weights = 1/number of samples g_x, = torch.autograd.grad(L, [x]) # GeomLoss fully supports autograd! GeomLoss is a simple interface for cutting-edge Optimal Transport algorithms. It provides:
Note, however, that The divergences implemented here are all symmetric, positive definite and therefore suitable for measure-fitting applications. For positive input measures \(\alpha\) and \(\beta\), our \(\text{Loss}\) functions are such that
\[\begin{split}\text{Loss}(\alpha,\beta) ~&=~ \text{Loss}(\beta,\alpha), \\
0~=~\text{Loss}(\alpha,\alpha) ~&\leqslant~ \text{Loss}(\alpha,\beta), \\
0~=~\text{Loss}(\alpha,\beta)~&\Longleftrightarrow~ \alpha = \beta.\end{split}\]
GeomLoss can be used in a wide variety of settings, from shape analysis (LDDMM, optimal transport…) to machine learning (kernel methods, GANs…) and image processing. Details and examples are provided below: This website was rendered on a Dell workstation with an Intel Xeon W-2255 CPU (3.70GHz), 64 Gb RAM and a NVIDIA GeForce RTX 3090 GPU (24 Gb VRAM). Author and ContributorsFeel free to contact us for any bug report or feature request:
Licensing, academic useThis library is licensed under the permissive MIT license, which is fully compatible with both academic and commercial applications. If you use this code in a research paper, please cite: @inproceedings{feydy2019interpolating, title={Interpolating between Optimal Transport and MMD using Sinkhorn Divergences}, author={Feydy, Jean and S{\'e}journ{\'e}, Thibault and Vialard, Fran{\c{c}}ois-Xavier and Amari, Shun-ichi and Trouve, Alain and Peyr{\'e}, Gabriel}, booktitle={The 22nd International Conference on Artificial Intelligence and Statistics}, pages={2681--2690}, year={2019} } Related projectsYou may be interested by:
Table of contents |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |