FreeSOLO icon indicating copy to clipboard operation
FreeSOLO copied to clipboard

How can I visualize free mask results?

Open STAR-811 opened this issue 2 years ago • 2 comments

To ensure that the free masks are almost accurate, I add following codes in inference_freemaks.py . However, the results saved in the disks is strange: the foreground part is always at the edge of an image.

after masks = masks.cpu().numpy() ''' masks = masks.cpu().numpy() ii=0 for mask in masks: masks_save = masks[ii] * 255 cv2.imwrite('./results/'+img_name+'_'+str(ii)+'.jpg', masks_save) ii=ii+1 '''

STAR-811 avatar Jul 21 '22 03:07 STAR-811

same with you

ahuirecome avatar Sep 14 '22 06:09 ahuirecome

I had the same issue when I was using resnet50. Switching to resnet101 worked.

Wayne2Wang avatar Sep 16 '22 02:09 Wayne2Wang