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

find_blob_index_by_name Reshape_output_0 failed #253

Open
ranjith502 opened this issue Jan 4, 2024 · 3 comments
Open

find_blob_index_by_name Reshape_output_0 failed #253

ranjith502 opened this issue Jan 4, 2024 · 3 comments

Comments

@ranjith502
Copy link

ranjith502 commented Jan 4, 2024

Screenshot from 2024-01-04 19-07-55
i have trained yolov5 lite model on custom data. i have tested using python inference script it is working fine. but when i convert into ncnn format using https://convertmodel.com/ . and changed the line depends on the params file

    ex.extract("Reshape_output_0", out); line 328
    ex.extract("659", out); 346
    ex.extract("671", out); 364

after changing i got below error
Screenshot from 2024-01-04 18-48-30

below is my .params file

Reshape /model.21/Reshape 1 1 /model.21/m.0/Conv_output_0 /model.21/Reshape_output_0 0=6400 1=6 2=3
Permute /model.21/Transpose 1 1 /model.21/Reshape_output_0 647 0=1
Convolution /model.21/m.1/Conv 1 1 /model.17/cv3/act/Mul_output_0_splitncnn_0 /model.21/m.1/Conv_output_0 0=18 1=1 5=1 6=2304
Reshape /model.21/Reshape_1 1 1 /model.21/m.1/Conv_output_0 /model.21/Reshape_1_output_0 0=1600 1=6 2=3
Permute /model.21/Transpose_1 1 1 /model.21/Reshape_1_output_0 659 0=1
Convolution /model.21/m.2/Conv 1 1 /model.20/cv3/act/Mul_output_0 /model.21/m.2/Conv_output_0 0=18 1=1 5=1 6=4608
Reshape /model.21/Reshape_2 1 1 /model.21/m.2/Conv_output_0 /model.21/Reshape_2_output_0 0=400 1=6 2=3
Permute /model.21/Transpose_2 1 1 /model.21/Reshape_2_output_0 671 0=1

@ppogg
Copy link
Owner

ppogg commented Jan 5, 2024

能否把整个param文件上传以下呢?

@ranjith502
Copy link
Author

directly uploading .param file ,shows unsupported file type . so i taken screenshots and upload it
Screenshot from 2024-01-05 07-46-54
Screenshot from 2024-01-05 07-46-31
Screenshot from 2024-01-05 07-45-40
Screenshot from 2024-01-05 07-45-21
Screenshot from 2024-01-05 07-44-55

@ranjith502
Copy link
Author

@ppogg any update on that brother

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