AMR icon indicating copy to clipboard operation
AMR copied to clipboard

Confusion about the code in net/resnet50_amr.py

Open Jessie459 opened this issue 2 years ago • 1 comments

Hello! Thanks for your great work!

I am confused about some lines in net/resnet50_amr.py. Did you mean that the spotlight branch is not supervised by classification? Is this equal to with torch.no_grad()? https://github.com/JayQine/AMR/blob/de391682626990deebe8eb217b7eed6ec4d7fd3d/net/resnet50_amr.py#L47-L58

Looking forward to your reply.

Jessie459 avatar Oct 05 '22 05:10 Jessie459

There are two training stages. The first trains the spotlight branch, and the second trains compensation branch in xxx_amr.py. In the second stage, some parameters of spotlight branch are fixed.

JayQine avatar Dec 21 '23 16:12 JayQine