AdaNPC icon indicating copy to clipboard operation
AdaNPC copied to clipboard

Mis-Enabling Gradient In AdaNPC

Open Cascol-Chen opened this issue 1 year ago • 0 comments

Hi,

Thank you for your outstanding contribution. I'd like to bring to your attention a potential concern in implementation. It's possible that it might inadvertently enable gradient in adaptation (see the link below), leading to increased GPU memory consumption. Would you mind to have a check on this? https://github.com/yfzhang114/AdaNPC/blob/282e4130fa4e88878e00197561eba508ffb81448/domainbed/adapt_algorithms.py#L510C5-L510C5

Cascol-Chen avatar Jan 11 '24 13:01 Cascol-Chen