CasRel-pytorch-reimplement icon indicating copy to clipboard operation
CasRel-pytorch-reimplement copied to clipboard

why randomly select one subject in data_loader.py

Open HJHjiahao opened this issue 3 years ago • 2 comments

In line 72 of your data_loader.py, why only select one subject instead of performing subsequent operations on all subjects? Thanks in advance!

HJHjiahao avatar Apr 30 '21 13:04 HJHjiahao

In the original code of CasRel model, the subject is also selected randomly.

longlongman avatar May 01 '21 06:05 longlongman

Yeah, and why? I didn't find the theoretical basis of it in original paper. I am confused. -_- Please!

HJHjiahao avatar May 01 '21 06:05 HJHjiahao