Training model with ONNX runtime #5307
-
Hello, thanks for building the ONNX runtime! I'm trying to create a simple model and train it using onnx runtime, but I can't find an equivalent of The tutorials seems to be Pytorch focused, but I'm more interested in using a "standalone" ONNX model, such as shown here with the appropriate training information embedded in it, is this use case going to be supported? Nevertheless I tried the getting started tutorial, but it used |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
@edgchen1, could you help on this topic? |
Beta Was this translation helpful? Give feedback.
-
We don't have plan to have a mirrored interface like onnxruntime.TrainingSession(). We usually recommend defining the model in pytorch nn.module and use ORTTrainer to interact with it. But if you already have a .onnx model together with loss function exported, you can also use ORTTrainer to load it. |
Beta Was this translation helpful? Give feedback.
@edgchen1, could you help on this topic?