Grounded-Segment-Anything
Grounded-Segment-Anything copied to clipboard
ValueError: not enough values to unpack (expected 6, got 4) for grounded_sam_simple_demo.py
Traceback (most recent call last):
File "/home/chuhuan/Grounded-Segment-Anything-main/grounded_sam_simple_demo.py", line 51, in
@chuhuan88 The supervision version is too low. I tried updating to the latest version to solve the problem. pip uninstall supervision pip install supervision
@chuhuan88 labels = [ f"{CLASSES[class_id]} {confidence:0.2f}" for confidence, class_id in zip(detections.confidence, detections.class_id) ]