Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/fairinternal/eval_vlm into …
Browse files Browse the repository at this point in the history
…main
  • Loading branch information
haideraltahan committed May 13, 2024
2 parents e78d8d4 + 8652b4a commit ad73f23
Show file tree
Hide file tree
Showing 34 changed files with 143,749 additions and 60 deletions.
9 changes: 7 additions & 2 deletions basic_test.py
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()
Empty file added d.txt
Empty file.
2 changes: 1 addition & 1 deletion eval_vlm/common_utils/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
CURRENT_DIR = Path(os.getcwd())
HUB_CACHE_DIR = Path.home().joinpath(".cache").joinpath("torch").joinpath("hub")
CACHE_DIR = Path.home().joinpath(".cache").joinpath("eval_vlms")
FIGURES_DIR = CACHE_DIR.joinpath("figures")
FIGURES_DIR = PROJ_DIR.joinpath("figures")
FAIR_PATHS = [
"/private/home/haideraltahan/.cache/eval_vlms/data",
"/fsx-checkpoints/haideraltahan/.cache/eval_vlm/data/"
Expand Down
Loading

0 comments on commit ad73f23

Please sign in to comment.