Fixed time_step=1 for darknet.so/dll

pull/7577/head
AlexeyAB 6 years ago
parent c7e3ba3ed4
commit fc173454b1
  1. 2
      src/yolo_v2_class.cpp

@ -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);
}

Loading…
Cancel
Save