add grid search
This commit is contained in:
parent
410e725bf2
commit
96b67658f4
1
main.py
1
main.py
@ -667,6 +667,7 @@ if __name__ == "__main__":
|
|||||||
collate_fn=TrainDataset.collate_fn
|
collate_fn=TrainDataset.collate_fn
|
||||||
))
|
))
|
||||||
for step, batch in dataloader:
|
for step, batch in dataloader:
|
||||||
|
print(batch.shape)
|
||||||
sub, rel, obj, label, neg_ent, sub_samp = model.read_batch(
|
sub, rel, obj, label, neg_ent, sub_samp = model.read_batch(
|
||||||
batch, 'train')
|
batch, 'train')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user