Skip to content

Commit df9804a

Browse files
authored
Merge pull request #9 from LdDl/issue-8
network_predict
2 parents 5e18d06 + 68ad5ef commit df9804a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
## Requirements
2525

26-
For proper codebase please use fork of [darknet](https://github.com/AlexeyAB/darknet). Latest commit I've tested [here](https://github.com/AlexeyAB/darknet/commit/08bc0c9373158da6c42f11b1359ca2c017cef1b5)
26+
For proper codebase please use fork of [darknet](https://github.com/AlexeyAB/darknet). Latest commit I've tested [here](https://github.com/AlexeyAB/darknet/commit/9dc897d2c77d5ef43a6b237b717437375765b527)
2727

2828
In order to use go-darknet, `libdarknet.so` should be available in one of
2929
the following locations:

network.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ struct network_box_result perform_network_detect(network *n, image *img, int cla
1414
sized = resize_image(*img, n->w, n->h);
1515
}
1616
struct network_box_result result = { NULL };
17-
network_predict_ptr(n, sized.data);
17+
network_predict(*n, sized.data);
1818
int nboxes = 0;
1919
result.detections = get_network_boxes(n, img->w, img->h, thresh, hier_thresh, 0, 1, &result.detections_len, letter_box);
2020
if (nms) {

0 commit comments

Comments
 (0)