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训练的,运行也是采用一样的版本
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训练的,运行也是采用一样的版本