Add option to track other metrics than solely the loss function.
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- machine-learning
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 117
- Fork
- 115
- Merge trung bình
- 2 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của graphnet-team/graphnet
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
graphnet-team/graphnet#933 ·
-
Spring cleanĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
graphnet-team/graphnet#927 · 1 bình luận ·
-
Time for a new version release v1.8.1Có thể làm lại được @Aske-Rosted đã nhận 75 ngày trước và không có pull request nào đang mở. Đang mởdecision
graphnet-team/graphnet#924 · 1 người được giao ·
-
Make kaggle checkpoints part of the CICó thể làm lại được @sevmag đã nhận 75 ngày trước và không có pull request nào đang mở. Đang mởbug
graphnet-team/graphnet#921 · 2 bình luận · 1 người được giao ·
-
decision deferred
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
graphnet-team/graphnet#919 ·
Tất cả issue của graphnet-team/graphnet
Issue tương tự
-
separate_packages splits imports from the same explicitly configured packageCó thể đã có người làm @rahul05ranjan đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
TigreGotico/text2spoken#626 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
oncoref MappingProxyType in proteome.layers breaks deepcopy in reference_coverage._inventoryCó thể đã có người làm @iskandr đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
pipecat-ai/pipecat#7014 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
NL-BioImaging/biomero#136 ·
Maintainer thường phản hồi trong vòng 1 ngày