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

提示error calling function怎么办的 #168

Closed
Ruoke321 opened this issue Aug 26, 2023 · 2 comments
Closed

提示error calling function怎么办的 #168

Ruoke321 opened this issue Aug 26, 2023 · 2 comments

Comments

@Ruoke321
Copy link

File "/www/wwwroot/test/execute.py", line 113, in predict inputs = tf.keras.preprocessing.sequence.pad_sequences([inputs],maxlen=max_length_inp,padding='post')ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (12,) + inhomogeneous part.摘取的一些报错,我在kaggle上tf2.1和py3.1训练的,运行也是采用一样的版本

@shirubei
Copy link

#152

@Ruoke321
Copy link
Author

Ruoke321 commented Feb 6, 2024

重新跑了一遍就没这个问题了,变成了另一个问题

@Ruoke321 Ruoke321 closed this as completed Feb 6, 2024
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