LZZhideonbush
Results
1
comments of
LZZhideonbush
pytorch1.0亲测有效 1. loss_c[pos] = 0 to: loss_c[pos.view(-1,1)] = 0 2. N = num_pos.data.sum() to: N = max(num_pos.data.sum().float(),1) 