ParthaEth / Regularized_autoencoders-RAE-

GNU General Public License v3.0
121 stars 14 forks source link

Eager execution #4

Open tung-nd opened 4 years ago

tung-nd commented 4 years ago

in your code, tf.placeholder is not compatible with eager execution but when I turn of eager mode, there is a new error "numpy() is only available when eager execution is enabled" how can I resolve this?

ParthaEth commented 4 years ago

Sorry for the delay in the reply. Where exactly did this happen? Perhaps you are using latest tensorflow. This code was tested with tf 1.0

enijkamp commented 4 years ago

Your requirements.txt states tensorflow==2.0.0, see https://github.com/ParthaEth/Regularized_autoencoders-RAE-/blob/master/requirements.txt#L21 Please fix.