Я пытаюсь распознать объекты на изображениях с imageAI .Я использую pycharm, windows 10 64-bit, python 3.6.8.Когда я пытаюсь запустить мою программу, появляется сообщение об ошибке:
ModuleNotFoundError: Нет модуля с именем 'tenorflow'
Это связано с этой строкой: import tensorflow as tf
ТакжеЯ могу отправить фото ![enter image description here](https://i.stack.imgur.com/h3Clj.png)
Вот код:
from imageai.Detection import ObjectDetection
import os
exec_path = os.getcwd()
detector = ObjectDetection()
detector.setModelTypeAsRetinaNet()
detector.setModelPath(os.path.join(
exec_path, 'resnet50_coco_best_v2.0.1.h5')
)
detector.loadModel()
list = detector.detectObjectsFromImage(
input_image=os.path.join(exec_path, 'objects.jpg'),
output_image_path=os.os.path.join(exec_path, 'new_objects.jpg')
)
I have installed with pip tensorflow, pillow, numpy, matplotlib, h5py, keras, image ai, open_cv and scipy.