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

No module named 'semantic_sam' #17

Open
oxygen-berry opened this issue Dec 26, 2023 · 4 comments
Open

No module named 'semantic_sam' #17

oxygen-berry opened this issue Dec 26, 2023 · 4 comments

Comments

@oxygen-berry
Copy link

oxygen-berry commented Dec 26, 2023

hello,I would like to ask about the installation steps.
I installed it step by step according to the installation steps shared in the [issue #3 ]. When I execute python demo_som.py , the error is

 from semantic_sam.BaseModel import BaseModel
ModuleNotFoundError: No module named 'semantic_sam'

image

This is the part of pip list:
image

This is the folder:
image
image

I wanna know what's wrong.
Looking forward to your reply, best wishes.

@raghudeepika
Copy link

Same issue here, do you know how to fix it?

@abrichr
Copy link
Contributor

abrichr commented Feb 6, 2024

See https://github.com/microsoft/SoM/pull/19/files#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557 for a working Dockerfile.

The containing PR (https://github.com/microsoft/SoM/pull/19/files) uses that Dockerfile to deploy SoM to EC2 on AWS.

Edit: this has been merged; see https://github.com/microsoft/SoM/blob/main/deploy.py

@huangmingye0819
Copy link

我也是这个问题,请问有人解决吗

@abrichr
Copy link
Contributor

abrichr commented Nov 20, 2024

From the previously mentioned Dockerfile, try:

pip install git+https://github.com/UX-Decoder/Semantic-SAM.git@package

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

4 participants