Closed GioFic95 closed 2 months ago
Great! Thank you so much for contributing to this repository. Did you try setting bounding boxes to torch.zeros((1,3,4)), as only the shape of bounding boxes sent to this function is important? This way no modification is needed in the dave.py
.
Thank you for the hint, I applied what you suggested in the new commit dc5f2d3
(#9).
I propose a zero-shot demo that can be fully executed via command line.
You can run it with:
where:
--img_path
is the path of the image or directory of images to use as input;--out_path
is the output path where the result(s) will be saved;--two_passes
enables the 2-passes strategy as suggested by @jerpelhan in https://github.com/jerpelhan/DAVE/issues/5#issuecomment-2197006231.If you prefer to show the result instead of saving it, just run:
with
--show
instead of--out_path
.