Models: While run model_builder_test.py encounter AttributeError: module 'tensorflow' has no attribute 'contrib'

Created on 19 Mar 2020  路  2Comments  路  Source: tensorflow/models

System information

  • Google Colab

Please provide the entire URL of the model you are using?

https://colab.research.google.com/drive/1mak9Fa8b-ida-U3dW1ZW3h9HFnwyX001

Describe the current behavior

While run
!apt-get install protobuf-compiler python-pil python-lxml python-tk !pip install Cython !git clone https://github.com/tensorflow/models.git %cd /content/models/research !protoc object_detection/protos/*.proto --python_out=. %set_env PYTHONPATH=/content/models/research:/content/models/research/slim !python object_detection/builders/model_builder_test.py
Suddenly shows AttributeError: module 'tensorflow' has no attribute 'contrib'.
76920337-38176900-6906-11ea-8883-d05ddb7ef849 (1)

Describe the expected behavior

In March 17th the code cell working fine no error as above like the following image:
76920461-80368b80-6906-11ea-8520-1245123a035f

Code to reproduce the issue

https://colab.research.google.com/drive/1mak9Fa8b-ida-U3dW1ZW3h9HFnwyX001

official bug

Most helpful comment

Hello @runninbear5 It solved in another issue, I opened see the following:

https://github.com/googlecolab/colabtools/issues/1070#issuecomment-601443647

All 2 comments

I am experiencing the exact same issue, were you able to find a solution?

Hello @runninbear5 It solved in another issue, I opened see the following:

https://github.com/googlecolab/colabtools/issues/1070#issuecomment-601443647

Was this page helpful?
0 / 5 - 0 ratings