Traceback (most recent call last):


 "/usr/local/lib/python3.6/dist-packages/sanic/app.py", line 946, in handle_request

request, request_name=name
TypeError: _run_request_middleware() got an unexpected keyword argument 'request_name'

`Traceback (most recent call last):


 "main.py", line 436, in <module>

train(data)


 "main.py", line 326, in train

batch_word, batch_features, batch_wordlen, batch_wordrecover, batch_char, batch_charlen, batch_charrecover, batch_label, mask
= batchify_with_label(instance, data.HP_gpu)


 "main.py", line 234, in batchify_with_label

mask[idx, :seqlen] = torch.Tensor([1]*seqlen)
TypeError: mul() received an invalid combination of arguments - got (list), but expected one of:
