giotto-ai / giotto-deep

Deep learning made topological.
Other
79 stars 11 forks source link

[BUG] type mismatch #57

Closed raphaelreinauer closed 2 years ago

raphaelreinauer commented 2 years ago

This should be a torch tensor https://github.com/giotto-ai/giotto-deep/blob/390cbaf2e42bd8ab550fdcdcc86d3b75962489e1/gdeep/utility/optimisation/persistence_grad.py#L223 since you detach is here https://github.com/giotto-ai/giotto-deep/blob/390cbaf2e42bd8ab550fdcdcc86d3b75962489e1/gdeep/utility/optimisation/persistence_grad.py#L232

matteocao commented 2 years ago

solved here.