facebookresearch / sam2

The repository provides code for running inference with the Meta Segment Anything Model 2 (SAM 2), links for downloading the trained model checkpoints, and example notebooks that show how to use the model.
Apache License 2.0
12.41k stars 1.14k forks source link

Cannot find primary config 'xxx/sam2-main/sam2/configs/sam2.1/sam2.1_hiera_l.yaml' #444

Open ywangwxd opened 3 days ago

ywangwxd commented 3 days ago

I am doing a test running using the jupyter notebook. I got this error even if the yaml file does exists. I used os.path.exists in the same script to make sure the path is correct. What is happening?