tianrun-chen / SAM-Adapter-PyTorch

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

Question about frozen encoder #72

Closed woshitiancai321 closed 5 months ago

woshitiancai321 commented 5 months ago

Great work! I didn't notice any code for detaching gradients (e.g., grad.detach(), nograd) in the image encoder during training. But I found you claim frozen encoder, its make me confusing. can you tell me some details about it? thanks ~~~~