buriburisuri / sugartensor

A slim tensorflow wrapper that provides syntactic sugar for tensor variables. This library will be helpful for practical deep learning researchers not beginners.
MIT License
372 stars 63 forks source link

module 'sugartensor' has no attribute 'GraphKeys'. Why this error apear ? #47

Open NDDV opened 2 years ago

NDDV commented 2 years ago

I just start to run import sugartensor as tf and that error happened why ?

_phase = tf.Variable(False, name='phase', trainable=False, collections=[tf.GraphKeys.LOCAL_VARIABLES]) AttributeError: partially initialized module 'sugartensor' has no attribute 'GraphKeys' (most likely due to a circular import)

Chendy1161 commented 1 year ago

I have such an error.And I can't solve it. Do you find a solution?

NDDV commented 1 year ago

No, i don't. This module too old so it can't be use