Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading a LSTM Model Created in Torchsharp in ML.Net #7163

Open
aforoughi1 opened this issue May 29, 2024 · 0 comments
Open

Loading a LSTM Model Created in Torchsharp in ML.Net #7163

aforoughi1 opened this issue May 29, 2024 · 0 comments
Labels
untriaged New issue has not been triaged

Comments

@aforoughi1
Copy link

I can create/train/evaluate/save/load a multilayer LSTM model using Torchsharp but cannot run in ML.NET.

The main requirement is to export/import a Torchsharp model to ONNX and run it in ML.NET. However, Torchsharp doesn't implement torch.onnx.export method. I'm stuck at a point and had to convert everything to pytorch just to export to ONNX.

I also tried a custom pipeline and trial runner to train and evaluate the model but I'm struggling with how these models can be saved/Loaded in ML.NET.

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged New issue has not been triaged
Projects
None yet
Development

No branches or pull requests

1 participant