Skip to content
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

Installing FastSAM #543

Open
benibargera opened this issue Jan 24, 2025 · 0 comments
Open

Installing FastSAM #543

benibargera opened this issue Jan 24, 2025 · 0 comments

Comments

@benibargera
Copy link

benibargera commented Jan 24, 2025

Hi there

In the readme for Efficient Grounded-SAM, it says:

Installation
Install Grounded-SAM

Install Fast-SAM

Note that we may use the sam image as the demo image in order to compare the inference results of different efficient-sam variants.

But I am unsure of how the structure needs to look like.
I have generated a folder SAM, within which I have cloned Grounded-SAM and as a sibling Fast-SAM. Then I have installed both of those projects within their respective folders.

I then try to run in the Grounded-SAM folder

python EfficientSAM/grounded_fast_sam.py --model_path ".\FastSAM\weights\FastSAM-x.pt" --img_path "assets/demo4.jpg" --text "the black dog." --output "./output/"

But that doesn't seem to work. Can someone shed some light on what the structure of the project needs to look like to utilize Fast-SAM?

Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant