sam2-playground / modules /sam_inference.py

Commit History

Add `invert_mask` parameter to the functions
1b5d47b

jhj0517 commited on

offload video predictor
968457a

jhj0517 commited on

Update dtype for CPU
7dc0c85

jhj0517 commited on

Update dtype
8d01c02

jhj0517 commited on

Fix missing config bug on colab
b109f8e

jhj0517 commited on

Add docstring
17abb6a

jhj0517 commited on

Update output path
888e2b8

jhj0517 commited on

Remove local sam2 pacakge
a8fcc23

jhj0517 commited on

Refactor to `clean_files_with_extension()`
5929ef8

jhj0517 commited on

clean temp/out
719689e

jhj0517 commited on

Update raise type
1de582e

jhj0517 commited on

Add create_filtered_video() and move logic to the inference class
3423be2

jhj0517 commited on

Add save_image
075107e

jhj0517 commited on

Add video propagation
e56e825

jhj0517 commited on

Add error message
b0345e8

jhj0517 commited on

Add `add_filter_to_preview()`
6df697d

jhj0517 commited on

Add video predictor initialization
2878798

jhj0517 commited on

Chore: Update variable name
c5a4e30

jhj0517 commited on

Add loading video predictor
0f36b51

jhj0517 commited on

Add logger
8d612b7

jhj0517 commited on

Add logger
5f8864d

jhj0517 commited on

Enable box and points input
63be95c

jhj0517 commited on

Add point prompt
41938cd

jhj0517 commited on

Fix ndarray type when there's only one box
ebdd2a9

jhj0517 commited on

Try except during inference
87a101a

jhj0517 commited on

Add `cb_multimask_output` and fix result type
002d880

jhj0517 commited on

Update image type and add result formatter
16bf670

jhj0517 commited on

integrate the function
2c719e3

jhj0517 commited on

Remove meaningless attribute
60434a4

jhj0517 commited on

Divide model / predictors
8d52a7d

jhj0517 commited on

Chore: align imports
d3e66e1

jhj0517 commited on

Add inference script
cfa5142

jhj0517 commited on