-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleNotFoundError: No module named 'demo' #23
Comments
I met this problem also. |
Is it solved? I already solved! |
You need to move the grounding_dino_worker.py to the same directory as GroundingDINO file you've installed. Or you can move the demo folder from GroundingDINO to the serve directory. |
Hey, thank you guys. I moved those files to correct position. The old error disappears while new error jumps out when I run the chatbot on localserver. IT always shows missing scheme. SO that the answer always shows error. Does anyone have any ideas? File "/home/mwang34/anaconda3/envs/llavaplus/lib/python3.10/site-packages/gradio/routes.py", line 437, in run_predict |
Make sure the ports and addresses you're specifying for each worker, controller, and model worker make sense. I also noticed that launching the model worker first and then workers might help with the inference. |
Question
Hi, does anyone encounters this issue when calling the tool worker like grounding dino?
$ python serve/grounding_dino_worker.py
Traceback (most recent call last):
File "/media/mwang34/study/mengjun/llm/LLaVA-Plus/serve/grounding_dino_worker.py", line 31, in
from demo.inference_on_a_image import get_grounding_output
ModuleNotFoundError: No module named 'demo'
The text was updated successfully, but these errors were encountered: