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
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)
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)