DrRepair icon indicating copy to clipboard operation
DrRepair copied to clipboard

list index out of bounds error

Open akash-isu opened this issue 4 years ago • 1 comments

tok=ex.src_vocab[idx - len(self.vocab)] in file DrRepair/model/repairer/data/err_dataset.py line 181 throws list index out of bounds error. How should i go about resolving this issue? I'm using the preprocessed models.

akash-isu avatar Aug 14 '20 18:08 akash-isu

Hi, it seems that I am unable replicate this issue on my side - could you perhaps provide examples of ex.src_vocab, idx, len(self.vocab) that cause this issue?

michiyasunaga avatar Aug 27 '20 22:08 michiyasunaga