Updated Dependencies, Better Docker Support, and Segmentation Demo#480
Updated Dependencies, Better Docker Support, and Segmentation Demo#480tim-win wants to merge 10 commits intoAILab-CVC:masterfrom
Conversation
|
Pinging @wondervictor as you may be able to review! |
|
unfortunately also this script is not free from bugs. => [final 6/6] RUN curl -o /yolo/weights/yolo_world_v2_x_obj365v1_goldg_cc3mlite_pretrain_1280ft-14996a36.pth -L https://huggingface.co/wondervictor/YOLO-World/resolve/main/yolo_world_v2_x 105.3s |
This PR introduces several significant improvements and updates to code surrounding the core YOLO-World project, addressing multiple issues and enhancing overall functionality and ease of use. When I finally got out of dependency hell, I decided to put down a ladder!
Key Changes
Dependency Updates:
Docker Support:
build_and_run.shscript for easy building and running of Docker containers with different model configurations, matching configs to models, so no one else needs the headache I have.Segmentation Demo:
demo/segmentation_demo.pyto showcase YOLO-World's open vocabulary segmentation capabilities. The guts of which was stolen shamelessly form @onuralpszr 's excellent hugginface space, https://huggingface.co/spaces/onuralpszr/YOLO-World-Seg, which did not work but showed me enough to get this running.Issue Resolutions:
Tested Configurations:
pretrain-x-1280ft, which performs excellently.seg-landseg-l-segheadconfigurations, which show good performance but really work well with my use case ( :/ )Detailed Improvements
pyproject.tomlandrequirementsfiles with pinned dependency versions.How to Use
Users can now easily run YOLO-World demos, including the new segmentation demo, using the provided Docker build system. For example:
(note, while this is in MR, the fixes are not on master. So you have to replace this line in the dockerfile:
With this line:
Hopefully this PR will save the people who come after me significant amounts of time. Feedback and further testing is welcome!