markjay4k / YOLO-series

A series of notebooks describing how to use YOLO (darkflow) in python
247 stars 171 forks source link

part3-processing_video.py throws AssertionError: Image is not a np.ndarray #8

Open SpeedCoder5 opened 6 years ago

SpeedCoder5 commented 6 years ago

at end of video play

markjay4k commented 6 years ago

you could possibly add a try / except statement to handle this error

flit86 commented 6 years ago

Hi Mark. Amazing video!!!! i have the same error: AssertionError: Image is not a np.ndarray. how i can fix it? Merci

Jagan3534 commented 3 years ago

Traceback (most recent call last): File "C:/Users/jagan/Downloads/Automatic-Identification-and-Counting-of-Blood-Cells-master/Automatic-Identification-and-Counting-of-Blood-Cells-master/test.py", line 26, in output = tfnet.return_predict(image) File "C:\Users\jagan\Downloads\Automatic-Identification-and-Counting-of-Blood-Cells-master\Automatic-Identification-and-Counting-of-Blood-Cells-master\darkflow\net\flow.py", line 83, in return_predict 'Image is not a np.ndarray' AssertionError: Image is not a np.ndarray

same for me can anyone help me please