When I set --loss_weighting =True, it always can not calculate the loss with weight, because len(target.shape) is always less than 2.
Hi! Sorry for the late response. This is strange... Did you set the snippet length to 1? In this case, it wouldn't make sense to use the weighted loss.
When I set --loss_weighting =True, it always can not calculate the loss with weight, because len(target.shape) is always less than 2.
Isabel Funke (3c5c30db) at 11 Oct 13:20
publish code
Isabel Funke (970d2260) at 18 Jul 16:45
Initial commit