digitalbrain79 / darknet-nnpack

Darknet with NNPACK
Other
305 stars 75 forks source link

When I enable the NNPACK option, the network 's output is incorrect. #18

Open yjcn opened 6 years ago

yjcn commented 6 years ago

image image

digitalbrain79 commented 6 years ago

I’m sorry. I did not test RK3399. NNPACK is hardware specific. It is NNPACK issue but not darknet.

yjcn commented 6 years ago

@digitalbrain79 I also test it on x86_64 platform. The issue is the same with RK3399.

loranddobai2 commented 6 years ago

Same problem here, predictions when running with darknet-nnpack are incorrect. I've got correct results by building from https://github.com/pjreddie/darknet (with the addition of this trick), but a prediction took around 32s per frame on an RPi3 for a Tiny YOLO model.

Building with NNPACK and ARM_NEON enabled reduced the time a bit (17s per image), but it was still too slow.

Running the model under Darkflow (which requires the offset trick from here to load the weights) seems to be the best option at the moment, giving correct results at ~2.3s per image.