-
Notifications
You must be signed in to change notification settings - Fork 45.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: module 'tensorflow.python.framework.ops' has no attribute '_TensorLike' #6177
Comments
Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks. |
Thanks a lot for your response! Please find the following information: Have I written custom code: OS Platform and Distribution: TensorFlow installed from: Using Conda Bazel version: N/A GPU model and memory: Using CPU (8GB) Exact command to reproduce:
this is the size of our encoded representations this is our input placeholder this model maps an input to its reconstruction Running the above code gives me following error: I will highly appreciate any help! Thank you! |
I suspect its due to lower keras and/or tensorflow versions. Can you please try to execute your code using google.colab.sandbox? |
Thanks a lot for your response! I eventually started using Amazon Web Service and having no issue to run my code there. |
I have the same issue with the command that you're using. Works fine on Googe Colab but doesn't work locally. I'm using TF2.0 |
I am also facing same issue, is there any fix/work around for the issue. below is the call trace. Using TensorFlow backend. this is very urgent issue, any help here is appreciated |
also keras version is |
In local machine, could you please try with |
I am having this issue in google colab... _model = modellib.MaskRCNN(mode="inference", model_dir=MODEL_DIR, config=config) model.load_weights(COCO_MODEL_PATH, by_name=True)_ and the error is: Any help would be appreciated! |
Same error. AttributeError: module 'tensorflow.python.framework.ops' has no attribute '_TensorLike' How do you overcome it? |
@HarshiniVenkat You should do as below
|
I am having an issue on Google Colab AttributeError: module 'tensorflow.python.framework.ops' has no attribute '_TensorLike' My Keras version is 2.3.1 and I have to stick with this version although I know that it can be solved by upgrading to an upper version such as 2.4.3 Could anyone help me, please? |
Did you resolve it by any chance? |
As mentioned by others, it looks like it is fixed on (just in case you are here from search results) |
I am still having the issue with keras==2.4.3 |
It is out of scope here, but there is an issue with a recently released |
I tried this either, but still, the issue is the same. you can see my prompt info regarding its installation, next to that is the screenshot of my jupyter notebook. |
Hi,
I am using Keras with Tensorflow backend to build and run autoencoder. I am having this error, when I use autoencoder to predict:
AttributeError: module 'tensorflow.python.framework.ops' has no attribute '_TensorLike'
I have already made sure I am running python 3.7 in my notebook. I created a virtual environment and used pip to install all my packages and they are all properly imported, but the error is still there.
Can you please help?
The text was updated successfully, but these errors were encountered: