improved box visualizations with supervision#172
improved box visualizations with supervision#172SkalskiP wants to merge 5 commits intoPeterande:masterfrom
Conversation
|
Isn't it too much to import whole Supervision just to make visualizations nicer? Can't we just add 1 function and not import Supervision? |
|
I'm supervision maintainer so I'm not objective, but it's rather lightweight package. OpenCV and Pillow are two heaviest dependencies it have, and you already have them with transformers. I'd also want to open a PR allowing to run inference in more SDK way. Not via script but import the model. I plan to create D-FINE fine-tuning tutorial here. |
|
I also work on some features right now (gradient accumulation during training; inference class; other small things). Maybe we can sync to not do the same thing 2 times (about inference) |
|
@SkalskiP @ArgoHA I created hf demo for d-fine with supervision! |
c3f5fce to
75c6230
Compare
|
Thanks for the implementation! The annotations are clearer this way. |
Hi everyone 👋🏻
Great job! While working with the model, I noticed that the visualizations are quite simple. I decided to open a PR adding visualizations using supervision annotators.
BEFORE:
AFTER: