* support reading class_weight from file in loss function * add unit test of loss with class_weight from file * minor fix * move get_class_weight to utils
* fix training bugs * fix unitest error * fix error in num_classes==2 case * delete comments
* dice loss * format code, add docstring and calculate denominator without valid_mask * minor change * restore