fugw icon indicating copy to clipboard operation
fugw copied to clipboard

[BUG] Remove res["pi"].detach().cpu()

Open pbarbarant opened this issue 3 months ago • 6 comments

In fugw.mapping :

# Store variables of interest in model
self.pi = res["pi"].detach().cpu()

Causes problems when dealing with barycenters as the transport plans get detached before the next barycenter iteration. Discovered with @antoinecollas.

pbarbarant avatar Apr 16 '24 09:04 pbarbarant