Traceback (most recent call last):


 "fastBertDemo.py", line 23, in <module>

model_type='bert')


 "/usr/local/python3/lib/python3.6/site-packages/fast_bert/data_cls.py", line 332, in __init__

train_dataset = self.get_dataset_from_examples(train_examples, 'train')


 "/usr/local/python3/lib/python3.6/site-packages/fast_bert/data_cls.py", line 431, in get_dataset_from_examples

all_input_ids = torch.tensor([f.input_ids for f in features], dtype=torch.long)


 "/usr/local/python3/lib/python3.6/site-packages/fast_bert/data_cls.py", line 431, in <listcomp>

all_input_ids = torch.tensor([f.input_ids for f in features], dtype=torch.long)
AttributeError: 'str' object has no attribute 'input_ids'
2017-09-21 11:41:45,205 WARNING: Traceback (most recent call last):


 "/usr/local/src/security_monkey/venv/lib/python2.7/site-packages/security_monkey-0.9.3-py2.7.egg/security_monkey/common/utils.py", line 96, in send_email

ses.send_email(app.config.get('MAIL_DEFAULT_SENDER'), subject, html, email, format="html")
AttributeError: 'NoneType' object has no attribute 'send_email'
