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

训练模型是出现一个问题 #19

Open
Ajoker0524 opened this issue Apr 18, 2023 · 4 comments
Open

训练模型是出现一个问题 #19

Ajoker0524 opened this issue Apr 18, 2023 · 4 comments

Comments

@Ajoker0524
Copy link

I want to know how to solve this plblem.
raise ValueError("Can only save/restore ResourceVariables when
ValueEmror: Can only save/restore ResourceVariables when executing eagerly, got type: <class tensorflow.python,framework.ops .Tensor '>

@Ajoker0524
Copy link
Author

这是训练same-resolution vis-ir image fusion 中出现了这个问题。

@lmydream
Copy link

这是训练same-resolution vis-ir image fusion 中出现了这个问题。

你把writer.close()
saver.save(sess, save_path + str(epoch) + '/' + str(epoch) + '.ckpt')这两行按两下Tab键缩进一下,大约在train的
193,194行

@Ajoker0524
Copy link
Author

这是训练same-resolution vis-ir image fusion 中出现了这个问题。

你把writer.close() saver.save(sess, save_path + str(epoch) + '/' + str(epoch) + '.ckpt')这两行按两下Tab键缩进一下,大约在train的 193,194行

好的,谢谢老师

@lmydream
Copy link

lmydream commented Jun 9, 2023

这是训练same-resolution vis-ir image fusion 中出现了这个问题。

你把writer.close() saver.save(sess, save_path + str(epoch) + '/' + str(epoch) + '.ckpt')这两行按两下Tab键缩进一下,大约在train的 193,194行

好的,谢谢老师
请问你用的是自己的数据集吗,不知道是不是我制作数据集的方法错了,训练的结果超级超级差

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