Solved by KFrank in post #2 
              
              
                Hi Andrew! 

Yes, this is a reasonable approach to more accurately classify 
class-0 samples. 
That is, adding these class weights to your loss function will train 
your network to more often correctly label class-0 samples as 
class-0 (fewer false negatives), but at the cost of more frequently 
inc…