Utils module
|
One-hot encoder for classification labels |
Inverse image values |
|
Return mean on color channels |
|
|
Optimized epsilon value for Thresholded Softmax and given number of KKC |
|
Optimized epsilon value for Openmax and given number of KKC |
- torchosr.utils.base.get_openmax_epsilon(n_known)
Optimized epsilon value for Openmax and given number of KKC
- torchosr.utils.base.get_softmax_epsilon(n_known)
Optimized epsilon value for Thresholded Softmax and given number of KKC
- torchosr.utils.base.grayscale_transform()
Return mean on color channels
- torchosr.utils.base.inverse_transform()
Inverse image values
- torchosr.utils.base.onehot_bg(n_classes)
One-hot encoder for classification labels