AttributeError: 'google.protobuf.pyext._message.FieldProperty' object has no attribute 'allow_growth'
ZTAP0011 opened this issue · comments
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'