Traceback (most recent call last):


 "wikidata_train_entity_linker.py", line 173, in <module>

plac.call(main)


 "C:\Users\Admin\Anaconda3\envs\spacy_nlu\lib\site-packages\plac_core.py", line 367, in call

cmd, result = parser.consume(arglist)


 "C:\Users\Admin\Anaconda3\envs\spacy_nlu\lib\site-packages\plac_core.py", line 232, in consume

return cmd, self.func(*(args + varargs + extraopts), **kwargs)


 "wikidata_train_entity_linker.py", line 117, in main

measure_performance(dev_data, kb, el_pipe, baseline=True, context=False, dev_limit=len(dev_indices))
TypeError: measure_performance() got an unexpected keyword argument 'dev_limit'
Traceback (most recent call last):


 "train.py", line 32, in <module>

shuffle=True)


 "/data/wangly/python3/transformer/data_load.py", line 147, in get_batch

batches = input_fn(sents1, sents2, vocab_fpath, batch_size, shuffle=shuffle)


 "/data/wangly/python3/transformer/data_load.py", line 121, in input_fn

output_types=types,args=(sents1, sents2, vocab_fpath))
# <- arguments for generator_fn. converted to np string arrays
TypeError: from_generator() got an unexpected keyword argument 'args'