
Traceback (most recent call last):


 "lib/discord/ext/commands/core.py", line 50, in wrapped

ret = yield from coro(*args, **kwargs)


 "/home/cmncaleb/RudeBot/cogs/general.py", line 78, in say

await self.bot.delete_message(channel)


 "lib/discord/client.py", line 1261, in delete_message

channel = message.channel

AttributeError: 'Channel' object has no attribute 'channel'

Traceback (most recent call last):


 "/apps/python3/lib/python3.6/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/apps/python3/lib/python3.6/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/apps/python3/lib/python3.6/site-packages/allennlp/run.py", line 18, in <module>

main(prog="allennlp")


 "/apps/python3/lib/python3.6/site-packages/allennlp/commands/__init__.py", line 72, in main

args.func(args)


 "/apps/python3/lib/python3.6/site-packages/allennlp/commands/train.py", line 111, in train_model_from_args

args.force)


 "/apps/python3/lib/python3.6/site-packages/allennlp/commands/train.py", line 144, in train_model_from_file

return train_model(params, serialization_dir, file_friendly_logging, recover, force)


 "/apps/python3/lib/python3.6/site-packages/allennlp/commands/train.py", line 361, in train_model

metrics = trainer.train()


 "/apps/python3/lib/python3.6/site-packages/allennlp/training/trainer.py", line 787, in train

train_metrics = self._train_epoch(epoch)


 "/apps/python3/lib/python3.6/site-packages/allennlp/training/trainer.py", line 515, in _train_epoch

loss = self.batch_loss(batch, for_training=True)


 "/apps/python3/lib/python3.6/site-packages/allennlp/training/trainer.py", line 434, in batch_loss

output_dict = self.model(**batch)


 "/apps/python3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in __call__

result = self.forward(*input, **kwargs)


 "/data/source_to_tags/code/mux/models/model.py", line 167, in forward

encoded_logline = self.loglines_encoder(embedded_logline, logline_mask)


 "/apps/python3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in __call__

result = self.forward(*input, **kwargs)


 "/apps/python3/lib/python3.6/site-packages/allennlp/modules/seq2vec_encoders/pytorch_seq2vec_wrapper.py", line 79, in forward

num_layers_times_directions, num_valid, encoding_dim = state.size()
AttributeError: 'generator' object has no attribute 'size'
