Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

From ONNX doc, if I trained a model in Python e.g scikit learn or Pytorch, I could save it as ONNX format, then deploy it in Java runtime production environment.

Is it possible to do in the opposite direction? e.g Train a model in Java, then save it as ONNX format or similar and deploy it in Python production environment?

In case you are unable to convert a model to ONNX format in Java, Please rephrase the question and title(Conversion of ML model to ONNX in Java) to get solutions for that problem. Sarthak Agrawal Mar 8, 2021 at 7:53

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question . Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers .