VeriSilicon / TIM-VX

VeriSilicon Tensor Interface Module
Other
221 stars 84 forks source link

vxCreateContext returns 0 on VIM3 board #558

Open dantiana opened 1 year ago

dantiana commented 1 year ago

File vsi_nn_context.c, line 153, the vxCreateContext() returns 0, why?

c = vxCreateContext(); if(NULL == c) { free(context); return NULL; }

It is called by ./TIM-VX/samples/lenet/lenet_asymu8.cc auto context = tim::vx::Context::Create();

The context creation fails.

sunshinemyson commented 1 year ago

Please share your terminal log with VIV_VX_DEBUG_LEVEL=1 and VSI_NN_LOG_LEVEL=5.

Thanks