not able to import fastsam , after installing using >> python3 -m pip install fastsam
ann = prompt_process.text_prompt(text='a photo of a dog')
ann = prompt_process.point_prompt(points=[[620, 360]], pointlabel=[1])
prompt_process.plot(annotations=ann,output_path='./output/dog.jpg',)
from: can't read /var/mail/fastsam
zsh: missing end of string
zsh: command not found: IMAGE_PATH
zsh: command not found: DEVICE
zsh: unknown file attribute: _
zsh: unknown file attribute: _
zsh: missing end of string
I have the same problem? Is it like this?
Hello, as far as I know, the authors of FastSAM do not provide official PyPI packages. You can follow the installation instructions, or use its implementation in ultralytics.
the issue is setup file provided in packsge, not installng requirements, we need to install manually. python3 -m pip install 0r requirements.txt
Run
pip install git+https://github.com/CASIA-IVA-Lab/FastSAM
Then copy the fastsam folder inside your library packages. If you're using a virtual machine it looks like venv/lib/python3.11/site-packages