jeanfeydy / geomloss

Geometric loss functions between point clouds, images and volumes
MIT License
598 stars 60 forks source link

Hi @heslowen! May I ask how to obtain both the loss and the transport plan at the same time? #80

Open redLinmumu opened 7 months ago

redLinmumu commented 7 months ago
          Hi @heslowen ,

As discussed for instance in this tutorial, the (blurry) optimal transport plan "π_ij" is encoded in the dual vectors (potentials) computed by the GeomLoss solver. (See e.g. Gabriel Peyré's book or my PhD thesis, available in January, for more details.)

### May I ask how to obtain both the loss and the transport plan at the same time? I mean easily, without complex computation for the unbalanced debiased Sinkhorn divergence