tensorlayer / TensorLayer

Deep Learning and Reinforcement Learning Library for Scientists and Engineers
http://tensorlayerx.com
Other
7.33k stars 1.61k forks source link

module 'tensorflow.python.framework.ops' has no attribute '_TensorLike' , This error is reported after the program runs #1149

Closed imitatorgkw closed 2 years ago

imitatorgkw commented 2 years ago

i run tutorial_A3C.py An error occurred module 'tensorflow.python.framework.ops' has no attribute '_TensorLike' What should I do tensorflow=2.3 tensorlayer=0.11.1

Laicheng0830 commented 2 years ago

Install the latest version of tensorlayer from the source code and this problem will be solved.

imitatorgkw commented 2 years ago

image I've updated it, but the problem hasn't been solved

Laicheng0830 commented 2 years ago

tensorlayer2.2.3 is no longer the latest version, please install it from the source code. pip3 install git+https://github.com/tensorlayer/tensorlayer.git

Laicheng0830 commented 2 years ago

FYI

https://github.com/tensorlayer/srgan/issues/214#issuecomment-684766733

imitatorgkw commented 2 years ago

it can run, thank you