1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Update darknet_importer.cpp

make it more obvious, that this is a '404', not a 'parsing' problem
This commit is contained in:
berak
2022-05-23 19:18:31 +02:00
committed by GitHub
parent 93dc0679ec
commit 50d7c61c01
+1 -1
View File
@@ -207,7 +207,7 @@ Net readNetFromDarknet(const String &cfgFile, const String &darknetModel /*= Str
std::ifstream cfgStream(cfgFile.c_str());
if (!cfgStream.is_open())
{
CV_Error(cv::Error::StsParseError, "Failed to parse NetParameter file: " + std::string(cfgFile));
CV_Error(cv::Error::StsParseError, "Failed to open NetParameter file: " + std::string(cfgFile));
}
if (darknetModel != String())
{