Skip to content

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

Open
@aforoughi1

Description

@aforoughi1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Deep LearningTorchSharpIssues related to TorchSharpdocumentationRelated to documentation of ML.NETonnxExporting ONNX models or loading ONNX modelsquestionFurther information is requesteduntriagedNew issue has not been triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions