Skip to content

Commit

Permalink
Minor fix to prioritize AIS
Browse files Browse the repository at this point in the history
  • Loading branch information
anwai98 committed Oct 10, 2024
1 parent fc3c2ed commit 6a9bc9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion micro_sam/evaluation/benchmark_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ def _run_benchmark_evaluation_series(
# Next, we check if the user expects to run AMG as well (after the run for AIS).

# i. Run automatic segmentation method supported with the SAM model (AMG or AIS).
_run_automatic_segmentation_per_dataset(run_amg=run_amg, **seg_kwargs)
_run_automatic_segmentation_per_dataset(run_amg=False, **seg_kwargs)

# ii. Run automatic mask generation (AMG) (in case the first run is AIS).
_run_automatic_segmentation_per_dataset(run_amg=run_amg, **seg_kwargs)
Expand Down

0 comments on commit 6a9bc9c

Please sign in to comment.