add grid search

This commit is contained in:
thanhvc3 2023-05-17 13:23:12 +07:00
parent 410e725bf2
commit 96b67658f4

View File

@ -667,6 +667,7 @@ if __name__ == "__main__":
collate_fn=TrainDataset.collate_fn
))
for step, batch in dataloader:
print(batch.shape)
sub, rel, obj, label, neg_ent, sub_samp = model.read_batch(
batch, 'train')