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

test的参数初始化和gui读不到checkpoint #7

Open
SuYouge opened this issue Apr 26, 2019 · 1 comment
Open

test的参数初始化和gui读不到checkpoint #7

SuYouge opened this issue Apr 26, 2019 · 1 comment

Comments

@SuYouge
Copy link

SuYouge commented Apr 26, 2019

单独运行test是可以的但是在gui里一开始显示变量没有初始化 所以在test里加了变量初始化的一句
sess.run(tf.global_variables_initializer())
之后单独运行test正常但是gui里仍然有错
首先是运行到result = evaluate_one_image(image)时显示找不到checkpoint
然后是result_text = wx.StaticText(self.pnl, label=result, pos=(320, 0))参数数目不正确 不知道是哪里有问题啊

@gulian-github
Copy link

你直接一开始把logs_train_dir路径改成绝对路径就可以了

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