-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
wrong number or type of arguments for overloaded function 'IVector_create' #2881
Comments
这个错误与这个issue基本一致,/~https://github.com/PaddlePaddle/Paddle/issues/2422。 |
看了上面这个帖子,他的解释是"lstm 的输出是一个序列,配置中没有 pooling 层,label 这个 data_layer 的 type 不对,应该是 integer_value_sequence",但是我脚本里没有lstm,就普通神经网络,不会是输出序列,感觉跟我的问题还是不太一样,麻烦帮忙分析一下 |
最后一个解释是comment解释的是feeding写错了,label对应的slot写错了。你这个config里面有32个slot,每个slot的数据是否都是跟对应layer的配置和你给的样本中的一样的,这个我还在看。 |
最后一个解释的feeding错误我看了的,跟我的不太一样,他的错误是用了一个feeding dict ,但是编码重复了 feeding = {'status': 0, 'label': 1} |
那个是由于feed时序号填错了,导致feed给label这个slot的数据类型与label这个layer要的数据类型不一致。我怀疑的是这个config的slot中也是有类似不一致的问题。 |
嗯,在调试过程中,我看到前面有一些样本是处理成功了的,然后数据是一个脚本产出的,所以不知道这个会不会是原因 |
我建议使用问题请首先自行调试,我们优先解决 Paddle 的 bug。如果确是因为文档不完善导致使用不便利,我们会通过完善文档来close 这个issue。 ps. 请尽量不要在issue中贴图片,您可以将出错信息完整地复制在issue里,图片不方便其它用户搜索。 |
在issue中贴图片的问题,您说的对,这样使得答疑结果不能被大家更好的共享,下次会注意 另外参考文档使用integer_value_sequence时,其解释为"Data type of a sequence of integer",这里有不解,认为是输入是一个序列类型(类比dense_vector和dense_vector_sequence ),所以才请paddle同学 帮忙看看 |
Paddle v2 确实没有官方正式地文档来说明输入数据的应该如何组织,这是我们在文档方面的缺失。 |
script_train_test_file.zip
相应的脚本与训练测试数据都已经提供,谢谢!
The text was updated successfully, but these errors were encountered: