hendrycks / ss-ood

Self-Supervised Learning for OOD Detection (NeurIPS 2019)
MIT License
266 stars 31 forks source link

why bx*2 -1 ? #12

Closed ShunliRen closed 4 years ago

ShunliRen commented 4 years ago

Before fed in network , the input bx become bx *2 - 1, i would like to why. Thanks!

hendrycks commented 4 years ago

This is to scale it to [-1,1]. Unscaling it is also easy with this formula.

On Tue, Apr 21, 2020 at 9:35 AM Shunli Ren notifications@github.com wrote:

Before fed in network , the input bx become bx *2 - 1, i would like to why. Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hendrycks/ss-ood/issues/12, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACZBITTEX2NQAO2JD4H3ZTDRNXDM5ANCNFSM4MNNSM6Q .