- 博客(1)
- 收藏
- 关注
原创 DataFrame object has no attribute ‘dim‘
pandas报DataFrame object has no attribute 'dim'解决办法 train_df = pd.read_csv('../Titanic/train.csv') X_train = train_df.drop("Survived", axis=1) 利用神经网络训练时报错,DataFrame object has no attribute ‘dim’ 解决方法: x_train = torch.from_numpy(np.array(X_train)) 将Datafr
2020-11-19 10:42:38 2427
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人