refactor: rename box_erode_or_dilate to dino_erode_or_dilate, add option dino_debug

This commit is contained in:
Manuel Schmid
2024-06-10 20:47:22 +02:00
parent b8578a080a
commit 651f9c5cfd
2 changed files with 12 additions and 9 deletions
+2 -1
View File
@@ -243,7 +243,8 @@ with shared.gradio_root:
dino_prompt=dino_prompt_text,
dino_box_threshold=box_threshold,
dino_text_threshold=text_threshold,
box_erode_or_dilate=dino_erode_or_dilate,
dino_erode_or_dilate=dino_erode_or_dilate,
dino_debug=debug_dino,
max_num_boxes=2, #TODO replace with actual value
model_type=sam_model
)