Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Where is the optimizer used? #15

Open
ASKanse opened this issue Apr 19, 2021 · 1 comment
Open

Where is the optimizer used? #15

ASKanse opened this issue Apr 19, 2021 · 1 comment

Comments

@ASKanse
Copy link

ASKanse commented Apr 19, 2021

I see the optimizer1 has been defined in cal.py here

optimizer1 = optim.SGD(net1.parameters(), lr = 0, momentum = 0)

But I didn't see it ever being used! Am I missing something? please let me know !

Thanks

@YixuanLi
Copy link
Contributor

There is no optimizer needed during test time (as the model parameters are fixed).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants