Commit f1262a6
Sync fork with upstream main (#5)
* support custom video tracking demo with local gd1.0 model
* update dockerfile (IDEA-Research#47)
* feat: grounded_sam2_hf_mode cli arguments (IDEA-Research#52)
* [New Feature] Support SAM 2.1 (IDEA-Research#59)
* support sam 2.1
* refine config path and ckpt path
* update README
* refine config
* fix hyper link for florence-2 demo
* update README
* update running info
* support slice inference on gd1.5 sam2 demo
* update README for SAHI inference
* refine README
* refine README
* refine README
* refine README
* refine useless code
* fix: zero object detection error (IDEA-Research#64)
* update dockerfile
* fix: zero object detection error
* fix: zero object detection error
* support box threshold in GD 1.5 demos
* Fixed Type on MORE_DETAILED_CAPTION (IDEA-Research#68)
* Add DINO-X arXiv link
* support DINO-X with SAM 2 for detection and segmentation
* add dino-x sam2 tracking demo
* Fix typo
* update dds-cloudapi-sdk to 0.3.3
* update README
* update setuptools build requirement to fix build error (IDEA-Research#91)
* Add torch2.6 support for ms_deform_attn_cuda (IDEA-Research#94)
* update DINO-X api usage to dds v2
* update DINO-X api usage to dds v2
* update DINO-X api to V2
* Pinned setuptools in Dockerfile (IDEA-Research#99)
Co-authored-by: Sami Haidar Wehbe <sami@autoenhance.ai>
* feat:add grounded_sam2_tracking_camera_with_continuous_id.py (closes … (IDEA-Research#97)
* feat:add grounded_sam2_tracking_camera_with_continuous_id.py (closes IDEA-Research#74)
* update README
* Change default output dir for HF demo (IDEA-Research#105)
* Fix demos for CPU inference (IDEA-Research#104)
* Fix unsorted `all_class_names` mismatch (IDEA-Research#112)
`all_class_names` was not sorted together along with `all_object_ids` and `all_object_boxes`. This causes issue when drawing boxes on multi-class grounding detection.
* support 5090 (IDEA-Research#115)
* Handle (N,K,H,W) masks when multimask_output=True by picking the top-scoring candidate (IDEA-Research#118)
* Update setup.py
support 5090
* Update grounded_sam2_local_demo.py
fix: handle (N,K,H,W) masks when multimask_output=True by picking the top-scoring candidate
When multimask_output=True, the predictor returns masks with shape (N,K,H,W). The previous code called squeeze(1) assuming K==1 and crashed (“cannot select an axis to squeeze out…”).
This patch selects the best candidate per instance (argmax over scores) to reduce it to (N,H,W).
Note: similar assumptions may exist in other files, but I haven't tested them, so this change is scoped to this file only.
* Replaced 'box_threshold' argument with 'threshold' to processor.post_process_grounded_object_detection for compatibility with the latest version of transformers (IDEA-Research#119)
* fix: allow compilation with lower cuda version (IDEA-Research#122)
* fix: add CUDA version check for <12.8 compatibility (IDEA-Research#123)
Co-authored-by: jieun-b <jieun-b>
---------
Co-authored-by: rentainhe <596106517@qq.com>
Co-authored-by: Susan Shen <31400000+ShuoShenDe@users.noreply.github.com>
Co-authored-by: kwikwag <sadan.yuval@gmail.com>
Co-authored-by: Ren Tianhe <48727989+rentainhe@users.noreply.github.com>
Co-authored-by: John Heilman <1735575+Infro@users.noreply.github.com>
Co-authored-by: Reuben Feinman <rfeinman16@gmail.com>
Co-authored-by: Andrew Choi <neffneff4@gmail.com>
Co-authored-by: Sami Haidar <47423350+sami-haidar@users.noreply.github.com>
Co-authored-by: Sami Haidar Wehbe <sami@autoenhance.ai>
Co-authored-by: Embodied Learner <157788460+HITSZ-Robotics@users.noreply.github.com>
Co-authored-by: will ye <williamyeny@gmail.com>
Co-authored-by: Meng-Jiun Chiou <coldmanck@gmail.com>
Co-authored-by: Freax Ruby <limyoonaxi@gmail.com>
Co-authored-by: Ooosn <namewangyy@gmail.com>
Co-authored-by: Hamza Adnan <42165451+hamzaadnan@users.noreply.github.com>
Co-authored-by: Zicheng Zhang <38455236+victkk@users.noreply.github.com>
Co-authored-by: Jieun Bae <59651199+jieun-b@users.noreply.github.com>1 parent ff4dcf2 commit f1262a6
File tree
350 files changed
+41075
-835
lines changed- checkpoints
- demo
- backend/server
- data
- inference
- data/gallery
- frontend
- public/fonts
- schemas
- src
- assets
- icons
- scss
- videos
- common
- codecs
- components
- annotations
- button
- code
- effects
- gallery
- __generated__
- icons
- options
- __generated__
- session
- __generated__
- snackbar
- toolbar
- video
- editor
- effects
- shaders
- filmstrip
- layers
- error
- loading
- logger
- screen
- tracker
- __generated__
- utils
- debug/stats
- demo
- graphql
- errors
- jscocotools
- layouts
- routes
- __generated__
- settings
- theme
- types/mp4box
- grounding_dino
- groundingdino/models/GroundingDINO/csrc/MsDeformAttn
- notebooks
- videos
- sam2
- configs
- sam2.1_training
- sam2.1
- sam2
- modeling
- backbones
- sam
- utils
- tools
- training
- assets
- dataset
- model
- scripts
- utils
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
350 files changed
+41075
-835
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments