facebookresearch / odin

A simple and effective method for detecting out-of-distribution images in neural networks.
Other
526 stars 102 forks source link

Where is the optimizer used? #15

Open ASKanse opened 3 years ago

ASKanse commented 3 years ago

I see the optimizer1 has been defined in cal.py here https://github.com/facebookresearch/odin/blob/64e97962ccaed1fe979f43a089c0feb4d8b002fd/code/cal.py#L62

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

Thanks

YixuanLi commented 3 years ago

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