1.RuntimeError: Sizes of tensors must match except in dimension 2. Expected size 48 but got size 64 for tensor number 2 in the list.
train_target_values = [
df.iloc[:, i].dropna().values for i in range(len(df.columns))
]
test_target_values = [
df.iloc[:, i].dropna().values for i in range(len(df.columns))
]
len(df.columns)-1把-1去掉即可,生成json文件过程中维度错误
今天暂时解决了画出来的图少一个维度的问题