meder411 / PyTorch-EMDLoss

PyTorch 1.0 implementation of the approximate Earth Mover's Distance
134 stars 13 forks source link

The gradient of inputs are None #11

Open tengteng95 opened 4 years ago

tengteng95 commented 4 years ago

Hi, thanks for your nice work. However, I found that the gradients of inputs are just None after backward. Could you please tell me why this happen?

屏幕快照 2019-12-10 下午3 29 47