Closed caoyifeng001 closed 3 years ago
Hi @caoyifeng001 , How do you solve this?
训练集最后一组数据不到batch size的大小,只需要predict_labels = my_model(val_pt_fea_ten, val_grid_ten, val_batch_size)
改成 predict_labels = my_model(val_pt_fea_ten, val_grid_ten, val_label_tensor.shape[0])
就可以了。
when i use batch size = 6 for train get error