four_flower icon indicating copy to clipboard operation
four_flower copied to clipboard

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

Open SuYouge opened this issue 5 years ago • 1 comments

单独运行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))参数数目不正确 不知道是哪里有问题啊

SuYouge avatar Apr 26 '19 16:04 SuYouge

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

gulian-github avatar Dec 10 '19 07:12 gulian-github