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

rknn yolov5 android #124

Open
abdelmalek0 opened this issue Feb 21, 2024 · 0 comments
Open

rknn yolov5 android #124

abdelmalek0 opened this issue Feb 21, 2024 · 0 comments

Comments

@abdelmalek0
Copy link

I have an issue when I tried to run a model with 2 inputs.
I got wrong results

some changes I made:
static uint32_t n_input = 2;
static uint32_t n_output = 1;

static rknn_tensor_attr input_attrs[2];
static rknn_tensor_attr output_attrs[1];

static rknn_tensor_mem *input_mems[2];
static rknn_tensor_mem *output_mems[1];

// first input
static rga_buffer_t g_front_rga_src;
static rga_buffer_t g_front_rga_dst;
// second input
static rga_buffer_t g_back_rga_src;
static rga_buffer_t g_back_rga_dst;

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

1 participant