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

ncnn在模型不变,参数不点,测试图片不变的情况下,多次预测结果不一样 #364

Closed
iChiaGuo opened this issue Apr 23, 2018 · 4 comments

Comments

@iChiaGuo
Copy link

@nihui 大神这可能是什么问题导致的。

@iChiaGuo
Copy link
Author

参数不变

@seyfime
Copy link

seyfime commented May 15, 2018

search in the code and convert all
XXX.channel(p)[0] ---> XXX[p]
*(score.data + score.cstep * p ) ---------> score[p]

also convert
float *plocal = location.data; -------------> float plocal = (float)location.data;

it should work fine

@ycdhqzhiai
Copy link

@iChiaGuo @seyfime I have the same problem Which file needs to be modified

@iChiaGuo
Copy link
Author

换个版本就好了

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

3 participants