tianrun-chen / SAM-Adapter-PyTorch

Adapting Meta AI's Segment Anything to Downstream Tasks with Adapters and Prompts
MIT License
968 stars 83 forks source link

visualize the predicted mask #18

Closed xypu98 closed 1 year ago

xypu98 commented 1 year ago

Hello, are there some code or scripts to achieve the visualization of predicted masks and save the mask picture? Thanks a lot!

Maxcharm commented 1 year ago

Have you solved the problem yet? For me I just stored the binary prediction mask and visualize it with opencv. It is pretty trivial.

tianrun-chen commented 1 year ago

Just like @Maxcharm mentioned, one option is to store the binary prediction mask and visualize it using OpenCV.

AnnemSony commented 1 year ago

Have you solved the problem yet? For me I just stored the binary prediction mask and visualize it with opencv. It is pretty trivial.

have you solved the problem

Linn0910 commented 4 months ago

Have you solved the problem yet? For me I just stored the binary prediction mask and visualize it with opencv. It is pretty trivial.

hello!Could you please provide any details about the visualize?I'm really need this and appreciate for your reply!