phamdinhkhanh / darknetGoogleColab

Other
6 stars 8 forks source link

#Dubao #6

Open Huynnee opened 1 year ago

Huynnee commented 1 year ago

/darknet: error while loading shared libraries: libcudart.so.10.0: cannot open shared object file: No such file or directory

AttributeError Traceback (most recent call last) in 1 get_ipython().system('./darknet detector test obj.data yolov3-5c-5000-max-steps-test.cfg backup/yolov3-5c-5000-max-steps_last.weights traindata/test/nuoctuong3.jpg -dont_show') 2 ----> 3 imShow('predictions.jpg')

in imShow(path) 6 7 image = cv2.imread(path) ----> 8 height, width = image.shape[:2] 9 resized_image = cv2.resize(image,(3width, 3height), interpolation = cv2.INTER_CUBIC) 10

AttributeError: 'NoneType' object has no attribute 'shape'