__init__.py 395 B

1234567891011
  1. # Copyright (c) Meta Platforms, Inc. and affiliates.
  2. # All rights reserved.
  3. # This source code is licensed under the license found in the
  4. # LICENSE file in the root directory of this source tree.
  5. from hydra import initialize_config_module
  6. from hydra.core.global_hydra import GlobalHydra
  7. if not GlobalHydra.instance().is_initialized():
  8. initialize_config_module("sam2", version_base="1.2")