dotnet / dotnet/machinelearning-samples

[C#] Image classification training to onnx file format

Ouverte
#960 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
PowerShell
Étoiles
4.7k
Forks
2.7k
Merge moyen
2 j 22 h
PR mergées (30 j)
1

Description

I've been doing experiments with the C# image classification examples, and I've been struggling trying to modify the sample to save an ONNX file without success, since it gives me the usual _"The targeted pipeline can not be fully converted into a well-defined ONNX model"_ exception.

So which would be the steps required to be able to save an onnx file?

I am aware some pipeline might contain ML transformers that are not available in ONNX, but maybe the ConvertToOnnx method could have a "best effort" option that would automatically convert what can be converted.

In other words, I would like to save the raw ONNX model that's in between the transformers that cannot be converted to ONNX.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par les exemples de classification d’images en C# et l’appel à ConvertToOnnx qui déclenche l’exception de modèle ONNX bien définie. Déterminez si le workflow demandé peut enregistrer le modèle ONNX brut entre des transformateurs non convertibles ou nécessite des étapes de conversion documentées ; le travail est considéré comme terminé lorsqu’il existe un chemin exploitable ou un comportement best-effort défini.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
csharp, machine-learning
Domaine
machine-learning
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.