add grid search

This commit is contained in:
thanhvc3 2023-05-17 13:36:06 +07:00
parent 87f45862d6
commit 03b38c7e99

View File

@ -667,7 +667,7 @@ if __name__ == "__main__":
num_workers=max(0, model.p.num_workers),
collate_fn=TrainDataset.collate_fn
))
for step, batch in dataloader:
for step, batch in enumerate(dataloader):
print(batch[0])
print(batch.shape)
sub, rel, obj, label, neg_ent, sub_samp = model.read_batch(