SAM2.1 checkpoints + training code + Demo
This commit is contained in:
Haitham Khedr
2024-09-28 08:20:56 -07:00
parent 7e1596c0b6
commit aa9b8722d0
325 changed files with 38174 additions and 223 deletions

View File

@@ -5,5 +5,7 @@
# LICENSE file in the root directory of this source tree.
from hydra import initialize_config_module
from hydra.core.global_hydra import GlobalHydra
initialize_config_module("sam2_configs", version_base="1.2")
if not GlobalHydra.instance().is_initialized():
initialize_config_module("sam2", version_base="1.2")