-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/fairinternal/eval_vlm into …
…main
- Loading branch information
Showing
34 changed files
with
143,749 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
from eval_vlm.evaluator import Evaluator | ||
from eval_vlm.plotter import Plotter | ||
|
||
eval = Evaluator( | ||
# num_workers=0, | ||
models=["clip_resnet50"], | ||
# datasets=["eurosat"], | ||
# models=["xvlm_coco"], | ||
datasets=["mnist_numbers"], | ||
) | ||
# eval.download_datasets() | ||
# eval.show_results() | ||
eval.evaluate() | ||
|
||
# plotter = Plotter() | ||
# plotter.plot_all_datasets() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.