dotnet / dotnet/machinelearning-samples
[C#] Image classification training to onnx file format
- Vorherrschende Sprache
- PowerShell
- Sterne
- 4.7k
- Forks
- 2.7k
- Ø Merge
- 2 T. 22 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
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.
Beitragsleitfaden
Rechercherichtung
Beginne mit den C#-Beispielen zur Bildklassifizierung und dem ConvertToOnnx-Aufruf, der die klar definierte ONNX-Modellausnahme auslöst. Ermittle, ob der angeforderte Workflow das rohe ONNX-Modell zwischen nicht konvertierbaren Transformern speichern kann oder dokumentierte Konvertierungsschritte benötigt; als abgeschlossen gilt ein umsetzbarer Pfad oder ein definiertes Best-Effort-Verhalten.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp, machine-learning
- Bereich
- machine-learning
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100