You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the tensor output from TensorFlow to pass to the tl layer, an error will be reported
AttributeError: 'tensorflow.python.framework.ops.EagerTensor' object has no attribute '_info'
Reproducible Code
Which OS are you using ? windows10
# ======================================================== ####### THIS CODE IS AN EXAMPLE, REPLACE WITH YOUR OWN ####### ======================================================== #model=tf.keras.applications.VGG16(include_top=False)
img=tf.convert_to_tensor(cv2.imread('test.png') /255.)
img=tf.expand_dims(img, 0)
feature=model(img)
pool=tl.layers.CornerPool2d(mode='TopLeft',name='cornerpool2d')(feature)
# ======================================================== ####### THIS CODE IS AN EXAMPLE, REPLACE WITH YOUR OWN ####### ======================================================== #
The text was updated successfully, but these errors were encountered:
Issue Description
When I use the tensor output from TensorFlow to pass to the tl layer, an error will be reported
AttributeError: 'tensorflow.python.framework.ops.EagerTensor' object has no attribute '_info'
Reproducible Code
The text was updated successfully, but these errors were encountered: