DataFrame.dtypes for data must be int, float or bool
The training data is not of the int, float, or bool type.
from sklearn import preprocessing lbl = preprocessing.LabelEncoder() train_x['acc_id1'] = lbl.fit_transform(train_x['acc_id1'].astype(str)
Before creating a training job, use the ModelArts development environment to debug the training code to maximally eliminate errors in code migration.