-
Notifications
You must be signed in to change notification settings - Fork 243
Description
I am getting the following issue while running my project
_error: OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\dnn\src\darknet\darknet_importer.cpp:217: error: (-212:Parsing error) Failed to parse NetParameter file: yolov3-custom_7000.weights in function 'cv::dnn::dnn4_v20220524::readNetFromDarknet'
Traceback:
File "C:\Users\abhir\OneDrive\Documents\GitHub\Helmet-and-Number-Plate-Detection-and-Recognition\ev2\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 600, in run_script
exec(code, module.dict)
File "C:\Users\abhir\OneDrive\Documents\GitHub\Helmet-and-Number-Plate-Detection-and-Recognition\source.py", line 12, in
net = cv2.dnn.readNet("yolov3-custom_7000.weights", "yolov3-custom.cfg")
And it cant import keras models
The packages in the requirements files were
imutils==0.5.4
numpy==1.24.3
opencv_python==4.6.0.66
Pillow==10.0.1
tensorflow==2.13.0
tensorflow_intel==2.13.0
And this is the github repo i got it from
https://github.com/FatimaSidra/Helmet-and-Number-Plate-Detection-and-Recognition