出错代码:
X_for_generate = process.query("target == 1").iloc[:,:-1].values
X_non_default = process.query('target == 0').iloc[:,:-1].values
X_for_generate = torch.tensor(X_for_generate).type(torch.FloatTensor)
其中爆了这行错误:
X_for_generate = torch.tensor(X_for_generate).type(torch.FloatTensor)
RuntimeError: Could not infer dtype of numpy.int64