然后查找.dbf源文件的时候,发现在报错的那一行数据中,有一列甚至好几列的数据中出现了'.',里面是否...
(eval_pred): predictions, labels = eval_pred predictions = torch.tensor(predictions).squeeze() labels = torch.tensor(labels).squeeze() mse = nn.MSELoss()(predictions, labels).item() mae = nn.L1Loss()(predictions, labels).item() - # Convert tensors to numpy arrays for NDCG computation...
(eval_pred): predictions, labels = eval_pred predictions = torch.tensor(predictions).squeeze() labels = torch.tensor(labels).squeeze() mse = nn.MSELoss()(predictions, labels).item() mae = nn.L1Loss()(predictions, labels).item() - # Convert tensors to numpy arrays for NDCG computation...