Add option to track other metrics than solely the loss function.
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Área
- machine-learning
Línea de trabajo
Read the Task and StandardModel implementations to understand how training and validation data and loss values are handled, then check how metrics are logged to the progress bar and WandB. Decide how additional named metrics should be attached to tasks, updated, and logged, including whether torchmetrics fits the project. Done means metrics can be configured and reported during training and validation; the issue does not specify exact files or tests.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is your feature request related to a problem? Please describe.
Currently we're the only value which is Logged to the progress bar and WandB is the loss value. However there are many situations in which the loss is either of little to no value, or you're more interested in another metric. Examples include when using a negative log-likelihood based loss function like (von-Mises Fisher, Gaussian, or CrossEntropy), where other quantities like RMSE, MAE, Accuracy, or AUC might be more relevant metrics to go by. Other examples could occur if a combination of multiple losses is used, then each component might be of interest.
Describe the solution you'd like
I would like to have the option to log additional more human-friendly quantities. There exists a library called torchmetrics which defines a plethora of metrics, which we probably can integrate with.
For implementation I think the easiest would be to have the option to add additional metrics to a Task, along with a name for the metric, and then the StandardModel, would process all metrics from all it's tasks and be responsible for feeding them the proper data and logging them during training/validation.
Describe alternatives you've considered
We could make our own implementation of a Metric like class, and use those, but I think it might be easier to use a library that already exists, especially since it is developed by lightning-ai and we probably won't run into issues with incompatible versions.
Additional context
Some of the metrics also define a plot method, which might be integrated in a way such that this would also solve #507.
- Lenguaje dominante
- Python
- Estrellas
- 117
- Forks
- 115
- Merge medio
- 2 d 21 h
- PR fusionados (30 d)
- 1
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de graphnet-team/graphnet
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
graphnet-team/graphnet#933 ·
-
Spring cleanAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
graphnet-team/graphnet#927 · 1 comentario ·
-
Time for a new version release v1.8.1Quizá libre de nuevo @Aske-Rosted la tomó hace 75 días y no hay ningún pull request abierto. Abiertodecision
graphnet-team/graphnet#924 · 1 asignado ·
-
Make kaggle checkpoints part of the CIQuizá libre de nuevo @sevmag la tomó hace 75 días y no hay ningún pull request abierto. Abiertobug
graphnet-team/graphnet#921 · 2 comentarios · 1 asignado ·
-
decision deferred
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
graphnet-team/graphnet#919 ·
Todos los issues de graphnet-team/graphnet
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
volcengine/OpenViking#8432 ·
Los mantenedores suelen responder en 1 día
-
Failed chat turns are passed to the follow-up rewrite as completed historyPosiblemente ocupada @hskhyl la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
NVIDIA/auto-ontology#683 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
documentation task
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
Implement parse_url and accept http URLs for Pear backendPosiblemente ocupada @muskan-creates352 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
fedora-infra/anitya#2231 ·
Los mantenedores suelen responder en 2 días
-
MarkdownDocSerializer.post_process escapes '\<' to '\<', rendering literal '<' in CommonMarkAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
docling-project/docling-core#1067 ·
Los mantenedores suelen responder en 3 días