Traceback (most recent call last):
] ETA:
--:--:--


 "convolutional_neural_network.py", line 85, in <module>

main()


 "convolutional_neural_network.py", line 71, in main

train_err, val_err = clf.fit(X_train, y_train, n_epochs=50, batch_size=256)


 "/home/deng106/ML-From-Scratch/mlfromscratch/deep_learning/neural_network.py", line 79, in fit

loss, _ = self.train_on_batch(X_batch, y_batch)


 "/home/deng106/ML-From-Scratch/mlfromscratch/deep_learning/neural_network.py", line 63, in train_on_batch

y_pred = self._forward_pass(X)


 "/home/deng106/ML-From-Scratch/mlfromscratch/deep_learning/neural_network.py", line 94, in _forward_pass

layer_output = layer.forward_pass(layer_output, training)


 "/home/deng106/ML-From-Scratch/mlfromscratch/deep_learning/layers.py", line 380, in forward_pass

X_col = image_to_column(X, self.pool_shape, self.stride, self.padding)


 "/home/deng106/ML-From-Scratch/mlfromscratch/deep_learning/layers.py", line 696, in image_to_column

pad_h, pad_w = determine_padding(filter_shape, output_shape)
TypeError: 'NoneType' object is not iterable

Traceback (most recent call last):


 "projects/twitter/seq2seq/interactive.py", line 100, in <module>

interactive(opt)


 "/home/ubuntu/ParlAI/parlai/scripts/interactive.py", line 101, in interactive

world = create_task(opt, [human_agent, agent])


 "/home/ubuntu/ParlAI/parlai/core/worlds.py", line 1676, in create_task

world = create_task_world(opt, user_agents, default_world=default_world)


 "/home/ubuntu/ParlAI/parlai/core/worlds.py", line 1639, in create_task_world

task_agents = _create_task_agents(opt)


 "/home/ubuntu/ParlAI/parlai/core/worlds.py", line 1627, in _create_task_agents

return create_task_agent_from_taskname(opt)


 "/home/ubuntu/ParlAI/parlai/core/teachers.py", line 2230, in create_task_agent_from_taskname

task_agents = teacher_class(opt)
TypeError: object() takes no parameters
