Closed MUCDK closed 2 years ago
on hold.
@michalk8 agreed to look into this a bit.
The problem is here: https://github.com/theislab/moscot/blob/dev/moscot/_solver.py#L45
geom.cost_matrix
is None
when online=True
. The Transport
object than tries to access self.geometry.shape
, which throws the above error. Not sure if not passing both cost/kernel is by design (or passing both and later ignoring kernel matrix), can't find any, except for coyping eps
from another temp. geometry to the current one - can be useful and that's what I should've done in the above example. Imho, not really a bug, but a feature. Minimal reproducible example:
from ott.geometry.geometry import Geometry
Geometry().shape
Ok, should we
@MUCDK, can we move this issue to OTT and close it here?
Or just close if it's no longer relevant please.
I think we can close it for now, we could think about catching the error ourselves.
After installing the requirements as instructed I get the following problem:
Regularized.fit() method does not work if "online" in geometry object is set to True