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

请教关于不同数据格式应用的问题 #4

Open
lirenwu opened this issue Feb 23, 2021 · 1 comment
Open

请教关于不同数据格式应用的问题 #4

lirenwu opened this issue Feb 23, 2021 · 1 comment

Comments

@lirenwu
Copy link

lirenwu commented Feb 23, 2021

你好,我想请教一个问题,我的数据格式和你给的数据格式不一样,但是我在网络里reshape成一样的了,之后训练的网络在预测的时候,由于训练和预测的batch_size不相同,导致预测时计算错误,因为网络里输入的shape里有一维是batch_size大小的,所以导致训练后embedding层的权重参数shape也跟batch_size相关,如果预测的batch_size和训练的batch_size不相同,则无法预测,这个问题应该如何解决呢?希望得到你的回复。

@Brilliantbaby
Copy link

你好,请问你的数据集是公开的吗?如果是公开的可否分享一下

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