Hi,
Thank you for sharing this piece of code.
I get the following error:
ValueError: Variable d_bn1/d_bn1_2/moments/moments_1/mean/ExponentialMovingAverage/ does not exist, or was not created with tf.get_variable(). Did you mean to set reuse=None in VarScope?