op = r'/content/drive/MyDrive/CV/Output'
for frame in C:
imName = str(counter)+'_'+str(k)+'.jpg'
final = os.path.join(op,imName)
box,labels,con = cv.detect_common_objects(frame)
frame = draw_bbox(frame,box,labels)
what is this error?? why is this error?
error usually means, that the .cfg file for your darknet model is broken
unfortunately, your code snippet is useless here (as it’s incomplete, not reproducable, noone here knows what ‘cv’ is)
- check the .cfg file used, show us.
- link us to where you copypasted that code & got that model
please make sure, your downloaded cfg is the same as on the website (dl errrors do happen !)
hey berak, im actually new to this i know the theory behind the models etc.
this was supposed to be my first project detecting the change and classifying the objects for a cctv.
im using google colab, i really did not follow your last response, i dint comprehend.
can you please help me out wdym?
again, post your cfg file here, something is broken in your local copy.
it’s a simple ‘ini’ format, must be either of:
This topic was automatically closed after 8 days. New replies are no longer allowed.