Inception v3 RuntimeError with torch 1.0.0

Maybe, you have to modify CustomLoss slightly. An issue due to a custom loss has been reported:

He resolved this problem by cloning tensors in the custom loss.