XiaRho commited on
Commit
4cfe544
1 Parent(s): 2246fee

Update sam2/build_sam.py

Browse files
Files changed (1) hide show
  1. sam2/build_sam.py +1 -1
sam2/build_sam.py CHANGED
@@ -15,7 +15,7 @@ from omegaconf import OmegaConf
15
  def build_sam2(
16
  config_file,
17
  ckpt_path=None,
18
- device="cuda",
19
  mode="eval",
20
  hydra_overrides_extra=[],
21
  apply_postprocessing=True,
 
15
  def build_sam2(
16
  config_file,
17
  ckpt_path=None,
18
+ device="cpu",
19
  mode="eval",
20
  hydra_overrides_extra=[],
21
  apply_postprocessing=True,