thtrieu / darkflow

Translate darknet to tensorflow. Load trained weights, retrain/fine-tune using tensorflow, export constant graph def to mobile devices
GNU General Public License v3.0
6.13k stars 2.08k forks source link

AssertionError: Image is not a np.ndarray #1176

Open ahmdwhydin opened 4 years ago

ahmdwhydin commented 4 years ago

Hi Thtrieu and anyone, can you help me to solve this problem? i'm using Tiny Yolo VOC and just 1 class picture

Traceback (most recent call last): File "D:-\YOLO\darkflow-master\YOLOwithimg.py", line 19, in result = tfnet.return_predict(imgcv) File "D:-\YOLO\darkflow-master\darkflow\net\flow.py", line 78, in return_predict 'Image is not a np.ndarray' AssertionError: Image is not a np.ndarray