We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在dataprovider中,如果按顺序yield三个vector, 如: yield word_vector, tag_vector, label 训练没有问题。 有人说最好加个名字,和data_layer的name对应上,于是写成: yield {'input_word':word_vector, 'input_tag':tag_vector, 'label':label} 这样训练的时候初始化参数会抛出错误: Check failed: PySequence_Check(seq_)
yield word_vector, tag_vector, label
yield {'input_word':word_vector, 'input_tag':tag_vector, 'label':label}
我用的paddle是昨天下载的一件编译版本,难道是版本问题,不支持这种写法么? #1114 这个是报错的那个ISSUE
The text was updated successfully, but these errors were encountered:
yield的字段需要seqence类型,可以参考 #2622 。
Sorry, something went wrong.
modify fluid.rst and layers.rst and gen_doc.py (PaddlePaddle#1125)
2da0e56
Update README.md for FSL (PaddlePaddle#1125)
9686f0d
Co-authored-by: Zeyu Chen <[email protected]>
Update figure in README (PaddlePaddle#1117) (PaddlePaddle#1125)
44e69a8
Co-authored-by: whs <[email protected]>
No branches or pull requests
在dataprovider中,如果按顺序yield三个vector, 如:
yield word_vector, tag_vector, label
训练没有问题。
有人说最好加个名字,和data_layer的name对应上,于是写成:
yield {'input_word':word_vector, 'input_tag':tag_vector, 'label':label}
这样训练的时候初始化参数会抛出错误:
Check failed: PySequence_Check(seq_)
我用的paddle是昨天下载的一件编译版本,难道是版本问题,不支持这种写法么?
#1114 这个是报错的那个ISSUE
The text was updated successfully, but these errors were encountered: