mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
NN: fix col buffer size.
* This is a workaround until a proper fix is found.
This commit is contained in:
parent
c16894aeb7
commit
1479cefc6f
@ -361,7 +361,7 @@ int nn_run_network(nn_t *net, image_t *img, rectangle_t *roi, bool softmax)
|
||||
|
||||
q7_t *buffer1 = fb_alloc(net->max_scrbuf_size);
|
||||
q7_t *buffer2 = buffer1 + net->max_layer_size;
|
||||
q7_t *col_buffer = fb_alloc(net->max_colbuf_size);
|
||||
q7_t *col_buffer = fb_alloc(net->max_colbuf_size * 2);
|
||||
|
||||
while (layer != NULL) {
|
||||
layer_t *prev_layer = layer->prev;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user