Comments (2)
Hi, for a multi-object dataset, you could simply modify the dataloader to sample one mask each time randomly.
Or you could load all masks and use them as prompts. Then we can change the prompt input to multi-mask, multi-box, multi-points. And the multi-mask output can be used to calculate loss with input multi GT mask.
The latter requires a larger code change and would work better.
from sam-hq.
Thanks for your reply!
Another question is how do I design the loss in this case?
from sam-hq.
Related Issues (20)
- When i tried to train the mode. There is a bug HOT 5
- Grounded HQ-SAM HOT 1
- Has anyone attempted to deploy SAM-Hq on CVAT (following the deployment of SAM)
- when i run train.py with one gpu and dataset that sam_hq used, the process stopped and didn't move HOT 5
- Tuning Segment for clothing
- some questions about training SAM_HQ HOT 2
- Question: Is it SAM-HQ model applicable for predicting segmentation mask for the input images without boxes, point or label? HOT 2
- The val_iou and val_boundary_iou is very low
- Multi-box input To use multi-box prompt inputs HOT 1
- dcm file imput
- dcm file input questions
- error in 'demo_hqsam_automatic_mask_generator.ipynb'
- Will a fast version be released like segment-anything-fast? HOT 3
- Request for evaluation code HOT 5
- how to use multiple gpu?
- Questions about training class information.
- Text Prompt HOT 1
- May i ask if there is a way to use dcm image to train the model? If its available, what should i do. HOT 2
- the code of Light HQ-SAM vs MobileSAM on COCO using the FocalNet-DINO
- I want to ask if there is a way that i give the tif image and bbox label as my dataset HOT 1
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 sam-hq.