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

关于训练(train.py)时非法(invalid argument)参数问题 #54

Open
zhixunpei opened this issue Jun 23, 2022 · 4 comments
Open

Comments

@zhixunpei
Copy link

作者您好,非常感谢您的分享。
我在进行训练时,发生了如下错误,请问您之前是否遇到过且如何解决的,期待您的答复。

@zhixunpei
Copy link
Author

image

@zhixunpei zhixunpei changed the title 关于训练(train.py)时非法参数问题 关于训练(train.py)时非法(invalid argument)参数问题 Jun 23, 2022
@CalayZhou
Copy link
Owner

您好,这个问题我之前从来没有遇见过,如果代码层面没有改动,我感觉更像是环境配置层面的问题;方便的话可以贴一下目前运行环境~

@zhixunpei
Copy link
Author

感谢您的回复,我首先使用了keras 2.1.0版本后出现与 issue#53 同样的问题,而后将keras升级到2.1.6版本出现上述问题。

@CalayZhou
Copy link
Owner

CalayZhou commented Jun 24, 2022

我搜到了类似的问题,https://blog.csdn.net/qq_27009517/article/details/109999792, 这里解决方案与batchsize设置有关;请再贴一下其它配置环境,如果运行环境一致,代码没有改动,数据集接口正确,一般不会出错的,另外, https://github.com/shahrukhqasim/TIES-2.0/issues/12, 这个回答中使用了CPU版本的tf也导致了类似的问题

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