How to update discriminator and generator multiples times in GAN? RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation?

This would be wrong, wouldn’t it?

Could you take a look at this post and check, if you are using the same workflow?