Skip to content

Commit

Permalink
Removed twice loading of weightfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbjelonic committed Apr 26, 2018
1 parent 816b3ea commit c61f8ec
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions darknet_ros/src/YoloObjectDetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -470,9 +470,6 @@ void YoloObjectDetector::setupNetwork(char *cfgfile, char *weightfile, char *dat
fullScreen_ = fullscreen;
printf("YOLO V3\n");
net_ = load_network(cfgfile, weightfile, 0);
if (weightfile) {
load_weights(net_, weightfile);
}
set_batch_network(net_, 1);
}

Expand Down

0 comments on commit c61f8ec

Please sign in to comment.