Python ошибка TensorFlow

Пытаюсь запустить скрипт на питоне по вот этой инструкции: https://medium.com/nuances-of-programming/обнаружение-объектов-с-10-строчками-кода-953bd0e22a2 При запуске выдает ошибку :

Using TensorFlow backend. 2020-05-21 15:40:52.338634: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7ff3c2cc2c30 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2020-05-21 15:40:52.338662: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version Traceback (most recent call last): File "FirstDetection.py", line 9, in detector = ObjectDetection() File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/imageai/Detection/init.py", line 75, in init self.sess = K.get_session() File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/keras/backend/tensorflow_backend.py", line 378, in get_session raise RuntimeError( RuntimeError: get_session is not available when using TensorFlow 2.0.

Как я понял проблема с версией TensorFlow, нужна 1.14 или ниже, но при попытке обновить пишет:

ERROR: Could not find a version that satisfies the requirement tensorflow==1.14.0 (from versions: 2.2.0rc3, 2.2.0rc4, 2.2.0) ERROR: No matching distribution found for tensorflow==1.14.0

Что делать?))


Ответы (0 шт):