Will do. The underlying error is that clone fails though I don’t understand why that happens to create it yet. I get:`
The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/gio/Documents/KNet/src/main_scripts/den_trainer.py", line 428, in __call__
    grad_clone = grad.clone().detach()

Clone returned a result with an error set.