cuteyyt / or-nerf

OR-NeRF: Object Removing from 3D Scenes Guided by Multiview Segmentation with Neural Radiance Fields
https://ornerf.github.io
44 stars 3 forks source link

Error: missing checkpoints? #7

Closed davidceka closed 1 year ago

davidceka commented 1 year ago

Hi! I'm following your guide and im now at this part of your code: sh scripts/data/gen_mask_sam_text.sh spinnerf_dataset 2 data data

I had to install grounding dino because i was receiving a missing error, then another checkpoint was missing which was part of the groundingdino package, now i get this error: File "/home/david/miniconda3/envs/ornerf/lib/python3.9/site-packages/segment_anything/build_sam.py", line 104, in _build_sam with open(checkpoint, "rb") as f: FileNotFoundError: [Errno 2] No such file or directory: 'ckpts/sam/sam_vit_h_4b8939.pth' Seems like another pth missing, Any suggestions?

davidceka commented 1 year ago

Edit: managed to do it, https://huggingface.co/spaces/abhishek/StableSAM/blob/main/sam_vit_h_4b8939.pth

README should be updated with the need of these