robustsam

Results 9 comments of robustsam

@wuyanxs99 The backup model is [here](https://drive.google.com/drive/folders/1tg_xg9-1GrDYCePiS3otqxUywI7edgRi?usp=sharing).

You can use the provided RobustSAM checkpoints for initialization, as those checkpoints retain the original SAM image encoder and prompt encoder parameters.

Hi, please refer to the discussion in #12 to prepare the test code. Thanks!

Will the same issue occur when using robustsam_checkpoint_l.pth and robustsam_checkpoint_h.pth?

Please refer to Section 3.3 in[ supplementary material](https://openaccess.thecvf.com/content/CVPR2024/supplemental/Chen_RobustSAM_Segment_Anything_CVPR_2024_supplemental.pdf) to understand how to calculate different metrics. Thank you.

The code for calculating IOU, PA and Dice is shown as below. For the AP part, please refer to the [official COCO evaluation code](https://cocodataset.org/#detection-eval) . Thank you! ``` def compute_pixel_accuracy(gt_mask,...

> Hello, I wanna know how to use box prompt for testing on dataset? Is there any code for this part? How to make changes on dataset.py? Hi, please refer...

I haven't encountered this problem before, but the [components.py](https://github.com/robustsam/RobustSAM/blob/main/robust_segment_anything/modeling/components.py) file was updated recently. Please try again to check whether the same problem occurs. Thank you.

There is a similar discussion on [https://github.com/pytorch/pytorch/issues/88038](url). I hope it helps.