Skip to content

Commit 68ad5ef

Browse files
committed
network_predict
1 parent 420a747 commit 68ad5ef

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
@@ -19,7 +19,7 @@
1919

2020
## Requirements
2121

22-
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)
22+
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)
2323

2424
In order to use go-darknet, `libdarknet.so` should be available in one of
2525
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)