Comments (4)
Thanks, I got the output with single background similar to how you had provided in the jupyter notebook. Also, thanks for the explanation.
from sd-dino.
Hi,
I think this is mainly because the instance mask is not generated/loaded correctly, therefore, the background feature map is taken into account when computing the PCA and clustering.
You could refer to this #1 issue on how to generate the correct mask. Please feel free to let me know if you have any further issues.
Best,
Junyi
from sd-dino.
Hello, I added the parameter argument '''decoder= False''' in load_model and the result has improved and the clustering is looking like this
It was written that this mask is only for visualization purposes. So, this means if we need the features for some downstream tasks, we don't need the mask. Right? Also, you had mentioned in issue #1 that we can use SAM to obtain mask. So, the SAM mask will basically replace the get_mask function output?
from sd-dino.
Hi @DevikalyanDas ,
Sorry for the late reply.
As I could see, the background is still not masked (otherwise, it should be single colored). I would suggest using other segmentation methods to generate the mask.
Also, you had mentioned in issue #1 that we can use SAM to obtain mask. So, the SAM mask will basically replace the get_mask function output?
Yes, that's right. You could try to use different ways to get the instance mask.
So, this means if we need the features for some downstream tasks, we don't need the mask. Right?
That's right. The mask is only used for removing the background feature when visualizing the feature maps.
from sd-dino.
Related Issues (16)
- get_mask cannot return valid mask HOT 3
- Collab Demo HOT 1
- Code for PCA HOT 3
- Object Swapping (with refinement process) HOT 2
- how to fix the issue of 'RuntimeError: Panoptic/odise_label_coco_50e.py not available in Model Zoo!' HOT 7
- cannot `get_mask` when I vary the cuda device HOT 3
- ValueError: a must be greater than 0 unless no samples are taken HOT 5
- AttributeError: module 'keras.backend' has no attribute 'is_tensor' HOT 3
- Details about how to extract sd features HOT 1
- Questions about sd features HOT 2
- Installation issues for Mask Former HOT 2
- License? HOT 1
- The image size for extracting the Dinov2-pretrained-model HOT 2
- Establish environment HOT 3
- Model parameter mismatch HOT 2
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 sd-dino.