Ensemble-Automator / conformal-prediction

Quantify uncertainty in any ML model
3 stars 3 forks source link

Nan loss found in modular .py #1

Closed QasimWani closed 3 years ago

QasimWani commented 4 years ago

When computing the cross-entropy loss, nan is produced because gradients are lost in the update calculation. So far, all parts were checked and are in-flow, so not entirely sure where the nilloss is being produced. Parts creating error: running forward pass on model(...) and loss_function(...). However, model initializes properly using Xavier initialization in the NN class. Need fix for modularity.

QasimWani commented 3 years ago

meh fuck it.