google / prettytensor

Pretty Tensor: Fluent Networks in TensorFlow
1.24k stars 151 forks source link

AttributeError: module 'tensorflow' has no attribute 'complex_abs' #47

Open flrgsr opened 7 years ago

flrgsr commented 7 years ago

It seems that in pretty_tensor_methods.py a deprecated tensorflow function is tried to register

prettytensor.Register(tf.complex_abs)

Any input on this?

eiderman commented 7 years ago

This is another problem related to tensorflow 1.0 changes. I will update the pip version when I get a chance, but for now, please use the version at head and pip install with -e

On Tue, Feb 7, 2017, 4:35 AM Florian Gesser notifications@github.com wrote:

It seems that in pretty_tensor_methods.py a deprecated tensorflow function is tried to register

prettytensor.Register(tf.complex_abs)

Any input on this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/google/prettytensor/issues/47, or mute the thread https://github.com/notifications/unsubscribe-auth/ABnmwBwtr4XE8UWK3brameHhqT_c-m6Zks5raGUKgaJpZM4L5bvt .

eiderman commented 7 years ago

Just to clarify, the pretty tensor version at head

On Tue, Feb 7, 2017, 9:38 AM Eider Moore i.am.eider@gmail.com wrote:

This is another problem related to tensorflow 1.0 changes. I will update the pip version when I get a chance, but for now, please use the version at head and pip install with -e

On Tue, Feb 7, 2017, 4:35 AM Florian Gesser notifications@github.com wrote:

It seems that in pretty_tensor_methods.py a deprecated tensorflow function is tried to register

prettytensor.Register(tf.complex_abs)

Any input on this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/google/prettytensor/issues/47, or mute the thread https://github.com/notifications/unsubscribe-auth/ABnmwBwtr4XE8UWK3brameHhqT_c-m6Zks5raGUKgaJpZM4L5bvt .

eiderman commented 7 years ago

That should be fixed now that I've updated pypi