Nanosam | how to tune the mask generator like SAM


Like Segment-Anything, I’d like to tune parameters like number of points per side or predicted iou threshold. In the examples that are provided, a mask generator is not configured. Can anyone please guide how should one go about it? I see some relevant code in the SamAutomaticMaskGenerator under MobileSam in NanoSam, but if my understanding is correct, there’s no example code that utilizes these, and I am a bit confused how to best go about configuring. Thank you in advance.


Would mind sharing your question on the GitHub folder?
You can reach out to the sample owner there directly.


Thanks @AastaLLL , I have posted the question in Github folder as well.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.