You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caitrin Armstrong edited this page May 10, 2019
·
1 revision
Loss functions
When using the default nn.CrossEntropyLoss() you may not also specify a final prediction layer activation. As specified in the PyTorch docs nn.CrossEntropyLoss() combines nn.LogSoftmax() and nn.NLLLoss() into one single class. Vulcan is designed to automatically apply nn.Softmax() to all predictions when using this criterion.