-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any way to stop segment anything 2 from reinstalling itself every time its called? #4
Comments
Same issue. I get, fatal: destination path 'segment-anything-2' already exists and is not an empty directory. And then it proceeds to reinstall. There should probably be a simple check in GroundedSAM2 from autodistill_grounded_sam_2 that needs to be changed if the library was already built. |
in
This is called in Simplest workaround is to copy the grounded_sam_2 file to your local workspace and also create your own load_SAM() function which removes the check (or has the correct check) This also has the benefit of you being able to control which SAM model to use! |
|
yeah, this is really in bad shape. already the installation was not straight forward as expected. had to install many dependencies manually. |
When I call on GroundedSAM2 with the ontology, it reinstalls SAM2 every time I run the program. Is there some sort of flag I can set that would stop that behavior? It will reinstall SAM2 with the same version even if I have previously run it moments ago.
The text was updated successfully, but these errors were encountered: