MasterBin-IIAU / AlphaRefine

Official implementation for the CVPR2021 paper Alpha-Refine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to save the predicted mask from the demo.py

xwhkkk opened this issue · comments

commented

Hello ! Thanks for sharing your code.

I added the following code to produce mask in the step 3
mask = RF_module.get_mask(img, np.array(mask_bbox)), but I found the mask array is 0 .

Could you give me some suggestions ?