-
Notifications
You must be signed in to change notification settings - Fork 2k
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
module 'tensorflow.compat.v2' has no attribute '_internal' #1538
Comments
For addition details, i ran it on google collab, about 2 weeks ago, i ran it, and it just working fine, but unfortunately, when i re-run this code,it givesme those errors |
I guess it's because google colab upgrade tensorflow 2.5 , you should check issue #1537 |
I did install follow versions : 2.1.0 2.2.0 2.3.0 2.3.1 2.3.2 2.4.0 and it gave me error log from the tensorflow itself. And yes, as in the requirements.txt, it will install newest tensorflow, which is currently 2.5.0 But unfortunately, i think keras retinanet is not supported yet for tensorflow 2.5.0? i did the training with 2.5.0, but it gives me 0 mAP with this error message
|
Figured it out. !pip uninstall keras -y !pip install tensorflow==2.3.0 Just add this to the top of your colab notebook and restart your runtime once its completed and then you are good to go. Hope this helps. |
@kirthan0899 mannnn you just saved my life, tried dozens of options out there, reinstall, change python version, install anaconda, and other stuff. really want to know, how did you get those answer?? once again, thanksss! love you to the moon! haha |
Even I tried all those options and got fed up lol. They had told to uninstall all packages and reinstall required packages, instead I just tried removing keras and tensorflow and it worked. Anyway glad I could help you out :) |
I love you,gay. |
Thanks Dear |
it worked for me thanks! |
SAVED MY A**. thank you |
Works for me. Thanks! |
Do you know ???, you just saved my life !!!. Respect Sir !!! |
importing it as tensorflow.keras.layers ....... will also work |
Best answer ! |
🤣 |
Thanks Dear |
I upgraded tensorflow-probability to version 0.24.0 then installed tf-keras package ---> problem is solved! |
as @hamedaligha commented: |
Hi all, really quick question, i get these following error :
Bassically all i do just installing all package required and execute cython, also i do Keras 2.4 and Tensorflow 2.3.0 as what the repository described. And after installing all packages, i tried to do the training as follow :
anyone know with this? i really need your help guys, please.
Thanks in advance.
The text was updated successfully, but these errors were encountered: