Predicting test122.jpg...Traceback (most recent call last):


 "/usr/local/bin/lumi", line 11, in <module>

sys.exit(cli())


 "/usr/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__

return self.main(*args, **kwargs)


 "/usr/local/lib/python2.7/site-packages/click/core.py", line 697, in main

rv = self.invoke(ctx)


 "/usr/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/usr/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke

return callback(*args, **kwargs)


 "/usr/local/lib/python2.7/site-packages/luminoth/predict.py", line 279, in predict

save_path=save_path,


 "/usr/local/lib/python2.7/site-packages/luminoth/predict.py", line 94, in predict_image

vis_objects(np.array(image), objects).save(save_path)


 "/usr/local/lib/python2.7/site-packages/luminoth/vis.py", line 170, in vis_objects

draw, obj['bbox'], color, width=round(3 * scale), fill=fill


 "/usr/local/lib/python2.7/site-packages/luminoth/vis.py", line 75, in draw_rectangle

for i in range(width):
TypeError: range() integer end argument expected, got float.`
Traceback (most recent call last):


 "app.py", line 121, in <module>

nlp.to_disk(output_dir)


 "/home/ec2-user/ner_model/venv/lib64/python3.6/site-packages/spacy/language.py", line 621, in to_disk

util.to_disk(path, serializers, {p: False for p in disable})


 "/home/ec2-user/ner_model/venv/lib64/python3.6/site-packages/spacy/util.py", line 503, in to_disk

writer(path / key)


 "/home/ec2-user/ner_model/venv/lib64/python3.6/site-packages/spacy/language.py", line 609, in <lambda>

('tokenizer', lambda p: self.tokenizer.to_disk(p, vocab=False)),


 "tokenizer.pyx", line 354, in spacy.tokenizer.Tokenizer.to_disk


 "tokenizer.pyx", line 355, in spacy.tokenizer.Tokenizer.to_disk


 "tokenizer.pyx", line 384, in spacy.tokenizer.Tokenizer.to_bytes


 "/home/ec2-user/ner_model/venv/lib64/python3.6/site-packages/spacy/util.py", line 486, in to_bytes

return msgpack.dumps(serialized, use_bin_type=True, encoding='utf8')


 "/home/ec2-user/ner_model/venv/lib64/python3.6/site-packages/msgpack_numpy.py", line 196, in packb

return Packer(**kwargs).pack(o)
TypeError: __init__() got an unexpected keyword argument 'encoding'
