facebookresearch / theseus

A library for differentiable nonlinear optimization
MIT License
1.74k stars 124 forks source link

how to deploy a theseus trained model to device? #643

Closed baodingge closed 4 months ago

baodingge commented 5 months ago

❓ Questions and Help

I trained a model using the Theseus library, but i have no idea about how to deploy it on hardware. Theseus uses automatic differentiation and iterative solving, making it impossible to directly export the ONNX model like the Torch model and further run on specified hardware. If ceres is used instead of theseus during deployment, how can we ensure the accuracy of both? Are there any suggestions? thanks very much. best

luisenp commented 4 months ago

Hi @baodingge. Unfortunately we haven't worked on this use case so far and not planning to add support for this in the near future.