ChaoningZhang / MobileSAM

This is the official code for MobileSAM project that makes SAM lightweight for mobile applications and beyond!
Apache License 2.0
4.77k stars 496 forks source link

multiple boxes? #105

Open mathieucoppey opened 1 year ago

mathieucoppey commented 1 year ago

if possible, could you tell me how to use the predictor with multiple boxes? I've tried input_box = np.array([[220, 200, 270, 250],[200, 200, 250, 250]]) but got Sizes of tensors must match except in dimension 1. Expected size 1 but got size 2 for tensor number 1 in the list. Thanks!

sulaimanvesal commented 4 months ago

@mathieucoppey did you find any solution for this? thank you.