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

AttributeError: 'google.protobuf.pyext._message.FieldProperty' object has no attribute 'allow_growth' #7

Open
ZTAP0011 opened this issue Jan 27, 2022 · 0 comments

Comments

@ZTAP0011
Copy link

I am running the notebook with
tensorboard 2.8.0
tensorboard-data-server 0.6.1
tensorboard-plugin-wit 1.8.1
tensorflow 2.7.0
tensorflow-estimator 2.7.0
tensorflow-io-gcs-filesystem 0.23.1
protobuf 3.19.3

When I load the depedencies I get following error

AttributeError Traceback (most recent call last)
Input In [1], in
23 from mrcnn import visualize
24 from mrcnn.visualize import display_images
---> 25 import mrcnn.model as modellib
26 from mrcnn.model import log
28 from trash import trash

File wade-ai\Trash_Detection\mrcnn\model.py:35, in
32 assert LooseVersion(keras.version) >= LooseVersion('2.0.8')
34 config = tf.compat.v1.ConfigProto
---> 35 config.gpu_options.allow_growth = True
36 session = tf.compat.v1.Session(config=config)
38 ############################################################
39 # Utility Functions
40 ############################################################

AttributeError: 'google.protobuf.pyext._message.FieldProperty' object has no attribute 'allow_growth'

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

1 participant