YOLO-World icon indicating copy to clipboard operation
YOLO-World copied to clipboard

change texts in demo.py web ui, can't work.

Open nxdong opened this issue 1 year ago • 1 comments

texts on gradio web ui only work once, but restart the server cant work correctly.
I wonder if it's a mechanism, or is there a way to reset the runner status to load new texts prompt ?

yoloworld

nxdong avatar Feb 19 '24 09:02 nxdong

same question. because the HuggingCLIPLanguageBackbone in yolo_world/models/backbones /mm_backbone.py uses forward_cache to forward. a simple change is to define forward = forward_text

cainiaoqiuxue avatar Feb 21 '24 11:02 cainiaoqiuxue

Hi @nxdong and @cainiaoqiuxue, I apologize for the late late late reply. This problem has been fixed now and you can have a try along with exporting ONNX models.

wondervictor avatar Mar 18 '24 13:03 wondervictor

This issue will be closed since there is no further update related to the main topic. Besides, the error has been fixed already. Thanks for your interest. If you have any questions about YOLO-World in the future, you're welcome to open a new issue.

wondervictor avatar Mar 21 '24 06:03 wondervictor