You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, when running the SAM2-Adapter training code, I notice that the name of mask decoder in SAM2-Adapter is self.mask_decoder, but in the original SAM2 the module is named self.sam_mask_decoder. Therefore, when loading the SAM2 checkpoints in line 191 of train.py, the trained parameters of the mask decoder is not loaded, and is therefore trained from scratch in SAM2. I hope to know if this is the indented behavior of the code?
The text was updated successfully, but these errors were encountered:
Hi, when running the SAM2-Adapter training code, I notice that the name of mask decoder in SAM2-Adapter is
self.mask_decoder
, but in the original SAM2 the module is namedself.sam_mask_decoder
. Therefore, when loading the SAM2 checkpoints in line 191 oftrain.py
, the trained parameters of the mask decoder is not loaded, and is therefore trained from scratch in SAM2. I hope to know if this is the indented behavior of the code?The text was updated successfully, but these errors were encountered: