We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I followed this notebook for finetuning the SAM on custom data, and save finetuning model to "./model_path".
The following code was executed using the resulting model.
from transformers import pipeline generator = pipeline("mask-generation", model="./model_path", device=0, output_bboxes_mask=True) outputs = generator(img, points_per_batch=1)
However, I got the same result as the following code.
from transformers import pipeline generator = pipeline("mask-generation", model="facebook/sam-vit-large", device=0, output_bboxes_mask=True) outputs = generator(img, points_per_batch=1)
Can you tell me why this happens?
The text was updated successfully, but these errors were encountered:
Hi,
Perhaps you can check some weights using generator.model and see whether you're actually using your custom model.
generator.model
Sorry, something went wrong.
No branches or pull requests
I followed this notebook for finetuning the SAM on custom data, and save finetuning model to "./model_path".
The following code was executed using the resulting model.
However, I got the same result as the following code.
Can you tell me why this happens?
The text was updated successfully, but these errors were encountered: