My environment is tensorflow-gpu1.13.1 , keras 2.2.4.
Using TensorFlow backend.
Traceback (most recent call last):
File "D:/Projects/Segment/Portrait/keras-maskrcnn/examples/ResNet50MaskRCNN.py", line 38, in
setup_gpu(0)
File "C:\Users\wuq\AppData\Roaming\Python\Python35\site-packages\keras_retinanet\utils\gpu.py", line 25, in setup_gpu
gpus = tf.config.list_physical_devices('GPU')
AttributeError: module 'tensorflow' has no attribute 'config'
My environment is tensorflow-gpu1.13.1 , keras 2.2.4. Using TensorFlow backend. Traceback (most recent call last): File "D:/Projects/Segment/Portrait/keras-maskrcnn/examples/ResNet50MaskRCNN.py", line 38, in
setup_gpu(0)
File "C:\Users\wuq\AppData\Roaming\Python\Python35\site-packages\keras_retinanet\utils\gpu.py", line 25, in setup_gpu
gpus = tf.config.list_physical_devices('GPU')
AttributeError: module 'tensorflow' has no attribute 'config'