TNTWEN / OpenVINO-YOLOV4

This is implementation of YOLOv4,YOLOv4-relu,YOLOv4-tiny,YOLOv4-tiny-3l,Scaled-YOLOv4 and INT8 Quantization in OpenVINO2021.3
MIT License
239 stars 66 forks source link

ERROR when runing demo #1

Closed niuwenju closed 4 years ago

niuwenju commented 4 years ago

environment: ubuntu18.04 64bit openvino 2020.4

Traceback (most recent call last): File "object_detection_demo_yolov3_async.py", line 33, in import monitors ModuleNotFoundError: No module named 'monitors'

TNTWEN commented 4 years ago

Hello!@niuwenju When I first tried this demo, there was no ERROR. But when I tried the next day, I had the same problem. I tried many versions of monitors. For example: pip3 install monitors
pip3 install python-monitors But there are still many other problems with the use of this module. So you could try "pip3 install monitors" to install this module. If there are any other errors about 'monitors' you could remove all code about monitors. i will upload object_detection_demo_yolov3_async.py without using monitors in the assets folder. You could have a try!

niuwenju commented 4 years ago

@TNTWEN thank you for sharing,i have remove all code about monitors then it runs well. there is an error as follows with monitors AttributeError: module 'monitors' has no attribute 'Presenter' version of monitors is v1.0.1

TNTWEN commented 4 years ago

Yeah. i have tried many versions of monitors. The error"AttributeError: module 'monitors' has no attribute 'Presenter'" still exists.i am still wondering which version of monitors the official demo uses.And this demo's readme hasn't added details of these new functions

niuwenju commented 4 years ago

@TNTWEN i have fixed it by using official monitors at path /opt/intel/openvino/deployment_tools/inference_engine/demos/python_demos/common

TNTWEN commented 4 years ago

@niuwenju Thank you very much! it really works! i have added the monitors files .You could verify these files and tell me if i made some mistakes.

niuwenju commented 4 years ago

now ,it works well.