Ryan Dick
|
e206890e25
|
Use staticmethods rather than inner functions for the Grounding DINO and SAM model loaders.
|
2024-07-31 09:28:52 -04:00 |
|
Ryan Dick
|
0a7048f650
|
(minor) Simplify GroundedSAMInvocation._merge_masks(...).
|
2024-07-31 08:58:51 -04:00 |
|
Ryan Dick
|
e8ecf5e155
|
(minor) Move apply_polygon_refinement condition up a layer.
|
2024-07-31 08:50:56 -04:00 |
|
Ryan Dick
|
cec7399366
|
(minor) Use a new variable name to satisfy type checks.
|
2024-07-31 08:27:01 -04:00 |
|
Ryan Dick
|
bdae81e429
|
(minor) Simplify GroundedSAMInvocation._filter_detections()
|
2024-07-31 08:25:19 -04:00 |
|
Ryan Dick
|
67c32f3d6c
|
Fix typo: zip(..., strict=True)
|
2024-07-31 08:15:28 -04:00 |
|
Ryan Dick
|
6b10b59abe
|
Make GroundedSAMInvocation work with any input image mode (RGB, RGBA, grayscale).
|
2024-07-30 15:55:57 -04:00 |
|
Ryan Dick
|
918f77bce0
|
Move some logic from GroundedSAMInvocation to the backend classes.
|
2024-07-30 15:34:33 -04:00 |
|
Ryan Dick
|
aca2a2fa13
|
Add mask_filter and detection_threshold options to the GroundedSAMInvocation.
|
2024-07-30 14:22:40 -04:00 |
|
Ryan Dick
|
ff6398f7d8
|
Add a GroundedSamInvocation for image segmentation from a text prompt (Grounding DINO + Segment Anything Model).
|
2024-07-30 11:12:26 -04:00 |
|