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

请问怎样产生result文件夹下的结果图? #3

Open
wuweige opened this issue Jun 5, 2021 · 1 comment
Open

请问怎样产生result文件夹下的结果图? #3

wuweige opened this issue Jun 5, 2021 · 1 comment

Comments

@wuweige
Copy link

wuweige commented Jun 5, 2021

您好!我已经下载数据集并按步骤运行至四条test语句结束,然而result文件夹下并没有产生对应结果,且在代码中也未找到绘制结果图的地方,想请问您一下如何产生这些结果图?多谢!祝您生活愉快!

@KimythAnly
Copy link
Owner

運行完 test 應該會在objs/下面生成檔案

    cm = confusion_matrix(labels[y_test.argmax(1)], labels[y_pred], labels=labels)
    dump(cm, 'objs/cm_{}.pickle'.format(config.model_name))

你可以根據自己的習慣,另外寫一個程式將這個 confusion matrix 印出來。

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