aes-lac-2018
aes-lac-2018 copied to clipboard
KeyError: 'lang' - in python train.py scripts/pt_BR-finetune.json
Traceback (most recent call last):
File "train.py", line 167, in
I just found the line 89 in she training_utils.py is writen as num_classes = NUM_CLASSES[obj['lang']]
and it change to fixed the bug:
num_classes = NUM_CLASSES[obj['langs'][0]]
Should I make a PR?