OmniParser
OmniParser copied to clipboard
cannot import name 'get_dino_model' from 'utils'
Hello.
I tried running omniparser.py
and got this error:
❯ python omniparser.py
Traceback (most recent call last):
File "/home/arthur/dev/ai/OmniParser/omniparser.py", line 1, in <module>
from utils import get_som_labeled_img, check_ocr_box, get_caption_model_processor, get_dino_model, get_yolo_model
ImportError: cannot import name 'get_dino_model' from 'utils' (/home/arthur/dev/ai/OmniParser/utils.py). Did you mean: 'get_yolo_model'?
What am I doing wrong?
( Note: The Gradio demo works fine )
Thanks!