Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

print results tabulated #32

Merged
merged 1 commit into from
Feb 26, 2024
Merged

print results tabulated #32

merged 1 commit into from
Feb 26, 2024

Conversation

frederik-encord
Copy link
Collaborator

When running clip-eval evaluate all combinations of models and datasets will be printed in tables similar to these:

===== wKNN =====
-------------  ----------------  -------------  ------  -------------
Model/Dataset  LungCancer4Types  Alzheimer-MRI  plants  Alzheimer_MRI
plip           0.2167            0.4505         -       -
pubmed         0.2067            0.4499         -       0.4499
clip           0.2200            0.4518         0.5455  -
tinyclip       0.2167            -              0.6364  -
-------------  ----------------  -------------  ------  -------------
===== linear_probe =====
-------------  ----------------  -------------  ------  -------------
Model/Dataset  LungCancer4Types  Alzheimer-MRI  plants  Alzheimer_MRI
plip           0.5267            0.5469         -       -
pubmed         0.5400            0.5482         -       0.5482
clip           0.5700            0.5521         1.0000  -
tinyclip       0.5733            -              1.0000  -
-------------  ----------------  -------------  ------  -------------

clip_eval/evaluation/evaluator.py Show resolved Hide resolved
clip_eval/evaluation/evaluator.py Show resolved Hide resolved
@frederik-encord frederik-encord merged commit 2161568 into main Feb 26, 2024
1 check passed
@frederik-encord frederik-encord deleted the feat/tabulate-results branch February 26, 2024 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants