Error with stacked autoencoder_supervised
benjats07 opened this issue · comments
I've noticed the error using Tensorflow-gpu(1.0.0)
There were two problems:
-in the file Trainers,line 128:
tf.square(tf.sub(ref_y, mod_y))))
should be tf.square(tf.subtract(ref_y, mod_y))))
-in the file Trainers,line 48:
use_nesterov from the dict wasn't available,i fixed using the default value "False"
elif optimizer == "momentum":
self.opt_ = tf.train.MomentumOptimizer(
d("learning_rate"), d("momentum"),
use_nesterov=False)
That was with your last run_stacked_autoencoder_supervised.