-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
In tensorflow I just do this for weights clipping:
t_vars = tf.trainable_variables()
critic_vars = [var for var in t_vars if 'crit' in var.name]
self.clip_critic = []
for var in critic_vars:
self.clip_critic.append(tf.assign(var, tf.clip_by_value(var, -0.1, 0.1)))
Here is my repo where I try to implement WGAN: https://github.com/PatrykChrabaszcz/WGan
Did you get any good results ?
This is what I get for mnist:
Metadata
Metadata
Assignees
Labels
No labels