mogvision / ADL

MIT License
56 stars 12 forks source link

In the process of running your 'PyTorch' version of the code, I found a small problem that I couldn't fix #5

Open DRleavealRD opened 2 years ago

DRleavealRD commented 2 years ago

File "E:\kuaiyaWJ\Misc\DNCNN+STARGAN\ADLcnn\trainer.py", line 133, in train loss.backward() File "F:\anaconda520\envs\pytorch\lib\site-packages\torch_tensor.py", line 255, in backward torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs) File "F:\anaconda520\envs\pytorch\lib\site-packages\torch\autograd__init__.py", line 149, in backward allow_unreachable=True, accumulate_grad=True) # allow_unreachable flag RuntimeError: the derivative for 'histc' is not implemented.

Just like the error reported above, when I was using 'torch. Histc' to perform 'backward', the problem appeared. Could you help me with that, please? Thank you very, very much