Comments (5)
@feivellau, thanks for your interest! We finetuned the entire model including encoder and decoder. I guess it may not work with efficientsam encoder and original sam decoder. Maybe you can give it a try?
from efficientsam.
@feivellau, thanks for your interest! We finetuned the entire model including encoder and decoder. I guess it may not work with efficientsam encoder and original sam decoder. Maybe you can give it a try?
@yformer, I have tried it and it doesn't work properly. Furthermore, I have found that the results are very poor when setting multimask_output=False
to get a single mask.
from efficientsam.
@feivellau, the entire model is finetuned. It may not work properly with efficientsam encoder and original sam decoder. For a single mask, you can set multimask_output=True and then obtain the single mask from output with single_mask = predicted_logits[0, 0, 0, :, :] >= 0.
from efficientsam.
if multimask_output and self.num_multimask_outputs > 1:
return masks[:, 1:, :], iou_pred[:, 1:]
else:
return masks[:, :1, :], iou_pred[:, :1]
I'm just trying to follow what the original SAM paper said about a couple different mask outputs. But the results masks[:, :1, :], iou_pred[:, :1]
in EfficientSAM are not good. And masks[:, 1:, :], iou_pred[:, 1:]
needs to be sorted to determine the best output
from efficientsam.
The same issue as Expose multimask_output in EfficientSam.forward has some examples.
from efficientsam.
Related Issues (20)
- SqueezeSAM HOT 2
- CoreML HOT 2
- How to do Saliency segmentation? HOT 1
- Saliency Segment CODE WANTED HOT 3
- how to train our dataset?thanks for your answer HOT 2
- SAMI Module and Training Codes? HOT 4
- Segment Anything CPP Wrapper for macOS HOT 1
- Is there GPU support for box-prompted SAM? HOT 7
- why zero-shot instance segmentation on COCO dataset is bad HOT 1
- Is that possible using this as pretrained with LLaVa?> HOT 4
- What does input_labels mean? HOT 1
- multibox-prompt inference HOT 2
- EfficientSAM available on the Microscopy Imaging software Fiji HOT 1
- how to use background point HOT 1
- When there are multiple points as prompts (for example, more than five points), some point areas cannot be segmented. HOT 1
- pre-trained parameters
- pre-trained parameters
- Why is it slow to segment everything? Is there a good solution? HOT 1
- Is it possible to fine-tune it to extract single-category objects based only on mask prompt
- Wrong EfficientSAM model from Model_zoo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from efficientsam.