NVIDIA-AI-IOT / nanosam

A distilled Segment Anything (SAM) model capable of running real-time with NVIDIA TensorRT
Apache License 2.0
616 stars 52 forks source link

Parameters tuning #22

Open hassaniqbal209 opened 7 months ago

hassaniqbal209 commented 7 months ago

Hi,

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.

countlesswu commented 6 months ago

hi! you want to segment anything in a picture,right? me too! Did you solved it? thanks!!