dotnet / dotnet/machinelearning-modelbuilder

Support custom data sources

Abierto
#2,174 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Code Example? Feature request Stale
Lenguaje dominante
Dockerfile
Estrellas
285
Forks
66
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I want to use image classification, but I have images in heterogeneous locations, and some need some kind of custom pre-processing, so the current image data sources is very limiting

Also, there's some other scenarios I'm facing which might require the images to feed to ML will need some sort of preprocessing. It's a big waste to have to write them to temporary files.

```json
"DataSource": {
"Type": "Folder",
"Version": 1,
"FolderPath": "c:\\Images"
},
```

But I would like to do something like this:

```json
"DataSource": {
"Type": "Class",
"Version": 1,
"ClassName": "CustomImageImporter"
},
```
```c#
class CustomImageImporter : IImageClassifierImporter
{
public IEnumerable<(string Label, Byte[] Image)> EnumerateLabeledInputImages()
{
yield return ("cat", LoadBytes("cat.png"));
yield return ("dog", LoadBytes("dog.png"));
}
}
```

The only alternative I have right now is not using AutoML and writing the whole thing in ML

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

No se mencionan archivos fuente ni pruebas. Empieza por rastrear cómo se gestiona la JSON DataSource con Type "Folder" y dónde encajaría IImageClassifierImporter. Se considerará terminado cuando un importer personalizado pueda proporcionar bytes de imágenes etiquetadas desde ubicaciones heterogéneas y realizar el preprocesamiento sin requerir archivos temporales.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
csharp
Área
machine-learning, tooling
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.