-
Notifications
You must be signed in to change notification settings - Fork 17
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
图像描述 训练 #18
Comments
感谢您! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
您好,大佬,请教 example_train_seq2seq.py 中的训练数据问题,
src_max_len = max(len(x["src"]) for x in batch_data)
trg_max_len = max(len(x["trg"]) - 1 for x in batch_data)
我可以在图像描述的训练中使用它吗。src指向到图片地址,然后自己写解析src代码。感谢任何回复
The text was updated successfully, but these errors were encountered: