darknet-nnpack
darknet-nnpack copied to clipboard
When I enable the NNPACK option, the network 's output is incorrect.
When I enable the NNPACK option, the network 's output is incorrect. And I disable NNPACK, the result is right.
I think you need to make sure you're calling nnp_initialize if you are using different functionality in the code.
For an example of the necessary changes, look at https://github.com/shizukachan/darknet-nnpack/commit/b9402ac82c6935ea5040c37ad321e868399a05f7
@shizukachan Yes. Thank you for your reminding. I forget to add "nnp_initialize();" and "net->threadpool = pthreadpool_create(4); ". Now I use digitalbrain79 's darknet-nnpack and the result is correct, but the speed isn't faster(don't use nnpack 46ms per image; use nnpack 50ms per image ). And I try to use your darknet-nnpack, the result is still incorrect. Besides "nnp_initialize();",should I complete other initialization?
it might work now. I updated my version of darknet