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

关于模型测试输出的问题 #15

Open
13354236170 opened this issue Mar 6, 2018 · 2 comments
Open

关于模型测试输出的问题 #15

13354236170 opened this issue Mar 6, 2018 · 2 comments

Comments

@13354236170
Copy link

1、请问,对图片进行测试,测试的结果是每一帧对应n个状态的输出,每一帧选取最大的概率进行输出,你是这样做的吗?
2、这个输出的概率代表的含义是什么的,输出每个状态的概率?还是在上一帧输出为某个结果的情况下的条件概率呢?
3、有没有实现过输出结果序列的top3,即概率排列在前几的几条输出路径呢

@yalecyu
Copy link
Owner

yalecyu commented Jul 23, 2018

  1. 是的,每个step上输出概率最大的一个。你可以参考examples/cpp_recognition/recognition.cpp 第73-76行,代码是非常清晰的。
  2. 每一步最大最大的概率输出,具体可以参考lstm的设计,通过遗忘门记忆门来进行预测和传递下一步。
    3.没有实现,但是你可以尝试对73-76行的改动,来满足top3。

@liuyiyiyiyi
Copy link

那你这个最终的预测结果不是字符的预测,而是每一帧最大概率的预测吗

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