Error: OpenCV(4.8.0) /io/opencv/modules/dnn/src/darknet/darknet_io.cpp:660: error: (-215:Assertion failed) separator_index < line.size() in function 'ReadDarknetFromCfgStream'

please make sure, your downloaded cfg is the same as on the website (dl errrors do happen !)