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

Fix: rename prompt_process.plot output parameter to output_path #203

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tajpouria
Copy link

This update fixes a bug caused by an unrecognized argument in the prompt_process.plot output parameter. To address this issue, the parameter has been renamed to output_path.

This update fixes a bug caused by an unrecognized argument in the [prompt_process.plot output parameter](https://github.com/CASIA-IVA-Lab/FastSAM/blob/4d153e909f0ad9c8ecd7632566e5a24e21cf0071/fastsam/prompt.py#L194). To address this issue, the parameter has been renamed to output_path.
@kingljl
Copy link

kingljl commented Feb 29, 2024

If only renaming output to output_path is not possible, using the cv2. imwrite function at the bottom will result in an error. File name required。

May I ask you a question(请教您个问题)? Do you know how to use fastsam to implement SamAutomaticMaskGenerator to generate multiple masks

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

Successfully merging this pull request may close these issues.

2 participants