Add option to track other metrics than solely the loss function.
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Ambito
- machine-learning
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 117
- Fork
- 115
- Merge medio
- 2g 21h
- PR unite (30g)
- 1
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di graphnet-team/graphnet
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
graphnet-team/graphnet#933 ·
-
Spring cleanAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
graphnet-team/graphnet#927 · 1 commento ·
-
Time for a new version release v1.8.1Forse di nuovo libera @Aske-Rosted l’ha presa 75 giorni fa e non c’è nessuna pull request aperta. Apertadecision
graphnet-team/graphnet#924 · 1 assegnatario ·
-
Make kaggle checkpoints part of the CIForse di nuovo libera @sevmag l’ha presa 75 giorni fa e non c’è nessuna pull request aperta. Apertabug
graphnet-team/graphnet#921 · 2 commenti · 1 assegnatario ·
-
decision deferred
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
graphnet-team/graphnet#919 ·
Tutte le issue di graphnet-team/graphnet
Issue simili
-
MarkdownDocSerializer.post_process escapes '\<' to '\<', rendering literal '<' in CommonMarkAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
docling-project/docling-core#1067 ·
I maintainer di solito rispondono entro 3 giorni
-
correction metadata
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
acl-org/acl-anthology#11101 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] crewai tool create/install/login exit 0 when they failForse già presa @Kiko0301 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
vllm-project/compressed-tensors#1033 ·
I maintainer di solito rispondono entro 3 giorni
-
chore kaizen ui-rewrite
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
IBM/mcp-context-forge#7681 ·
I maintainer di solito rispondono entro 2 giorni