the errors are
:‘module’ object has no attribute ‘long’
‘module’ object has no attribute ‘where’
These errors are mostly because of pytorch version
Yes i tried to find class weights for each class, by there frequency, but not much improvement.
So what’s a good approach to find class weights.