-
Notifications
You must be signed in to change notification settings - Fork 74
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
demo run question #48
Comments
請問這個問題解決了嗎?我也遇到了相同的問題。 |
same issues |
hi, @zyhhh123 @wuhuang1313113-cy I found some bugs and hope it will be helpful to you. After running the demo for a while, an error will be reported. The reason for the error is probably that the script will automatically download the model from Huggingface. Here, it is downloading bert-base-uncased (I'm not sure if there are other packages that need to be downloaded). I debugged the demo script file and found that it was the statement "import masa" that caused the download. I have already downloaded these models, but I don't know where to put them or how to modify the script to use the local models. The following is the error message. During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): |
Thanks for your question. However, I am not able to reproduce the error on myside.. Can you first check whether you can connect to https://huggingface.co/ in your machine? Please check here for offline mode: https://github.com/open-mmlab/mmdetection/blob/main/configs/grounding_dino/README.md#note |
I have the same problem |
I have already created the environment according to your install.md document, and also created the required folders. Meanwhile, the necessary pth files have been downloaded as well.
I ran the CLI command in the root directory of the project:
python demo/video_demo_with_text.py demo/minions_rush_out.mp4 --out demo_outputs/minions_rush_out_outputs.mp4 --masa_config configs/masa-gdino/masa_gdino_swinb_inference.py --masa_checkpoint saved_models/masa_models/gdino_masa.pth --texts "yellow_minions" --score-thr 0.2 --unified --show_fps
There has been no response for a long time, and no error has been reported either. Why is that? My CUDA is also available, but after running the command, I didn't find my process with nvidia-smi. Did the CUDA call fail or there is other error?
By the way, my system is Ubuntu 22.04 LTS (GNU/Linux 6.2.0-34-generic x86_64). The relevant information about CUDA is NVIDIA-SMI 535.113.01 Driver Version: 535.113.01 CUDA Version: 12.2. And the versions of PyTorch and Python I selected are consistent with those in your install.md.
The text was updated successfully, but these errors were encountered: