Add Kernel Inception Distance (KID) metric for model evaluation
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 74/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- machine-learning
Hướng nghiên cứu
Start by reading the existing FIDMetric implementation and the surrounding files in monai/metrics/, then use the requested monai/metrics/kid.py entry point. Add unit tests for known values, input validation, and agreement with a reference implementation; done means the metric computes the specified unbiased polynomial-kernel MMD² on generated and real feature vectors.
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.
FIDMetric and MMDMetric are provided for evaluating models, but no Kernel Inception Distance (KID). KID is widely reported alongside FID in image synthesis and image-to-image translation papers (papers like CUT, UNSB, Contourdiff). It is unbiased and more reliable than FID with small sample sizes, which is common in medical imaging test sets.
Describe the solution you'd like
A KIDMetric in monai/metrics/kid.py following the same design as FIDMetric:
- Takes pre-extracted feature vectors (N x F) for generated and real images, so any feature extractor (ImageNet, RadImageNet, MedicalNet) can be used.
- Computes the unbiased MMD^2 with a polynomial kernel k(x, y) = (x·y / d + 1)^3.
- Unit tests checking known values, input validation, and agreement with a reference implementation.
Describe alternatives you've considered
Using torchmetrics' KernelInceptionDistance, but it bundles an Inception feature extractor, while MONAI's FIDMetric works on arbitrary features, which suits medical images better.
Additional context
Reference: Bińkowski et al., "Demystifying MMD GANs", ICLR 2018.
I'm happy to implement this and open a PR if maintainers agree.
- Ngôn ngữ chính
- Python
- Star
- 8.7k
- Fork
- 1.6k
- Merge trung bình
- 5 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 14
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọ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 Project-MONAI/MONAI
-
ProbMapProducer raises IndexError on numpy 2.x: SlidingPatchWSIDataset emits float locationsCó thể đã có người làm @nilapate đã nhận 8 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Project-MONAI/MONAI#9135 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
RandGridPatch crashes for documented 0 or None patch_size entriesCó thể đã có người làm @Rajioba1 đã nhận 65 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Project-MONAI/MONAI#9046 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Incorrect type hint in `pad_func`Có thể đã có người làm @Harshal875 đã nhận 70 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Project-MONAI/MONAI#9026 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Add ROCm support for AMD Instinct GPUsCó thể đã có người làm @nilapate đã nhận 1 ngày trước. Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
Project-MONAI/MONAI#9152 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
PR Update ActionCó thể đã có người làm @KumoLiu đã nhận 7 ngày trước. Đang mở
Project-MONAI/MONAI#9141 · 3 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của Project-MONAI/MONAI
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Negation with "not" and "no" is ignored during sentiment analysisCó thể đã có người làm @vivek-3728 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
techcsispit/mess-mood#11 · 1 bình luận ·
-
changelog investigate
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ramnes/notion-sdk-py#408 ·
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
btclib-org/btclib-wallet#267 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue tech-debt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
knnmelprop/YAADO#111 ·