Skip to content
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

Google Colab not running #28

Closed
shari-amalgamrx opened this issue Aug 13, 2020 · 2 comments
Closed

Google Colab not running #28

shari-amalgamrx opened this issue Aug 13, 2020 · 2 comments

Comments

@shari-amalgamrx
Copy link

shari-amalgamrx commented Aug 13, 2020

Hello Team,
I am unable to run the Google Colab. Can you please tell me where am I going wrong?

Apparently the tensor-flow has issues with the version. I am getting this issue when I run the " Load model weights and Q&A data. Double click to see code" cell.

AttributeError: module 'tensorflow' has no attribute 'compat'

@shari-amalgamrx
Copy link
Author

shari-amalgamrx commented Aug 13, 2020

Was able to solve it by,

  1. !pip uninstall -y tensorflow
    !pip uninstall tensorflow-estimator

  2. !pip install tensorflow-estimator==2.1

and then in a different cell I imported the tensorflow as tf

@Santosh-Gupta
Copy link
Member

Thanks Shari, I guess some of the functions were deprecated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants