swa icon indicating copy to clipboard operation
swa copied to clipboard

make it compatible for pytorch latest version

Open jizongFox opened this issue 5 years ago • 1 comments

Hi, just noticed this wonderful work. I have made this code available for latest PyTorch version by providing minor revisions. Please consider merging.

jizongFox avatar Sep 12 '19 00:09 jizongFox

Hi @jizongFox thanks for the PR. I will be able to take a close look in a week or so. I don't know if we want to add tqdm in adjust_learning_rate. If we do, why not in the train epoch as well? Also, I guess we would want to somehow preserve compatibility with older PyTorch versions? @timgaripov what do you think?

izmailovpavel avatar Sep 29 '19 21:09 izmailovpavel