Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/****/raven/base.py", line 792, in captureMessage

return self.capture('raven.events.Message', message=message, **kwargs)


 "/****/raven/contrib/awslambda/__init__.py", line 67, in capture

user_info = self._get_user_interface(event)


 "/****/raven/contrib/awslambda/__init__.py", line 128, in _get_user_interface

if event.get('requestContext'):
AttributeError: 'NoneType' object has no attribute 'get'

Traceback (most recent call last):


 "pretrain_experiment.py", line 123, in <module>

main()


 "pretrain_experiment.py", line 85, in main

generator = get_trainable_model(vocab_size)


 "pretrain_experiment.py", line 36, in get_trainable_model

return PoemGen(num_emb, BATCH_SIZE, EMB_DIM, HIDDEN_DIM, SEQ_LENGTH, START_TOKEN)


 "/home/rzai/prj/SeqGAN/MLE_SeqGAN/model.py", line 62, in __init__

_, _, _, self.gen_o, self.gen_x = control_flow_ops.While(
AttributeError: 'module' object has no attribute 'While'
