Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
AsiaCao committed Apr 15, 2024
1 parent 4898ab9 commit 19b1f56
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions vision_agent/tools/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ class CLIP(Tool):
[{"labels": ["red line", "yellow dot"], "scores": [0.98, 0.02]}]
"""

_ENDPOINT = f"{_LND_API_URL}/model/tools"

name = "clip_"
description = "'clip_' is a tool that can classify any image given a set of input names or tags. It returns a list of the input names along with their probability scores."
usage = {
Expand Down Expand Up @@ -145,8 +143,6 @@ class ImageCaption(Tool):
{'text': ['a box of orange and white socks']}
"""

_ENDPOINT = f"{_LND_API_URL}/model/tools"

name = "image_caption_"
description = "'image_caption_' is a tool that can caption an image based on its contents or tags. It returns a text describing the image"
usage = {
Expand Down Expand Up @@ -203,8 +199,6 @@ class GroundingDINO(Tool):
'scores': [0.98, 0.02]}]
"""

_ENDPOINT = f"{_LND_API_URL}/model/tools"

name = "grounding_dino_"
description = "'grounding_dino_' is a tool that can detect arbitrary objects with inputs such as category names or referring expressions. It returns a list of bounding boxes, label names and associated probability scores."
usage = {
Expand Down Expand Up @@ -301,8 +295,6 @@ class GroundingSAM(Tool):
[1, 1, 1, ..., 1, 1, 1]], dtype=uint8)]}]
"""

_ENDPOINT = f"{_LND_API_URL}/model/tools"

name = "grounding_sam_"
description = "'grounding_sam_' is a tool that can detect arbitrary objects with inputs such as category names or referring expressions. It returns a list of bounding boxes, label names and masks file names and associated probability scores."
usage = {
Expand Down

0 comments on commit 19b1f56

Please sign in to comment.