Fixed time_step=1 for darknet.so/dll

This commit is contained in:
AlexeyAB 2019-12-09 15:28:31 +03:00
parent c7e3ba3ed4
commit fc173454b1
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ LIB_API Detector::Detector(std::string cfg_filename, std::string weight_filename
char *cfgfile = const_cast<char *>(_cfg_filename.c_str());
char *weightfile = const_cast<char *>(_weight_filename.c_str());
net = parse_network_cfg_custom(cfgfile, 1, 0);
net = parse_network_cfg_custom(cfgfile, 1, 1);
if (weightfile) {
load_weights(&net, weightfile);
}