Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vxCreateContext returns 0 on VIM3 board #558

Open
dantiana opened this issue Feb 20, 2023 · 1 comment
Open

vxCreateContext returns 0 on VIM3 board #558

dantiana opened this issue Feb 20, 2023 · 1 comment

Comments

@dantiana
Copy link

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
Copy link
Contributor

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

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants