LisaShen

Results 12 comments of LisaShen

``` def letterbox_image(image, size): image = image.convert("RGB") iw, ih = image.size#original size w, h = size#needed size scale = min(w/iw, h/ih)#find the smaller one nw = int(iwscale) nh = int(ihscale)...

> Maybe it will be better if i show the images, > > These are the outputs from the code above ![image](https://user-images.githubusercontent.com/25401067/217810742-73b3c096-14e0-4b10-904d-0165aa1337ff.png) > > After adding a threshold > >...

> > ``` > > def letterbox_image(image, size): > > image = image.convert("RGB") > > iw, ih = image.size#original size > > w, h = size#needed size > > scale...

Hello, could you take a look at this issue? @wwf1995 @cyn-liu https://github.com/megvii-research/PETR/issues/148#issue-2043853547

> Thanks a lot! Hello, could you take a look at this issue?: https://github.com/megvii-research/PETR/issues/148#issue-2043853547

Download from the link: https://onedrive.live.com/download?cid=1570430EADF56512&resid=1570430EADF56512%21109419&authkey=AJcMP-7Yp86PWoE