message | InvalidSubmission:
T [...]InvalidSubmission:
Traceback (most recent call last):
File "experiment_manager.py", line 301, in run_episode
r: MsgReceived = agent.write_topic_and_expect('get_commands', expect='commands')
File "/usr/local/lib/python3.7/site-packages/zuper_nodes_wrapper/wrapper_outside.py", line 96, in write_topic_and_expect
ob: MsgReceived = self.read_one(expect_topic=expect, timeout=timeout)
File "/usr/local/lib/python3.7/site-packages/zuper_nodes_wrapper/wrapper_outside.py", line 177, in read_one
nickname=self.nickname)
File "/usr/local/lib/python3.7/site-packages/zuper_nodes_wrapper/wrapper_outside.py", line 258, in read_reply
others = read_until_over(fpout, timeout=timeout, nickname=nickname)
File "/usr/local/lib/python3.7/site-packages/zuper_nodes_wrapper/wrapper_outside.py", line 286, in read_until_over
raise RemoteNodeAborted(m)
zuper_nodes.structures.RemoteNodeAborted: External node "agent" aborted:
error in agent |Traceback (most recent call last):
| File "/usr/local/lib/python2.7/dist-packages/zuper_nodes_python2/imp.py", line 118, in wrap_direct
| f(context=context, data=data)
| File "solution.py", line 98, in on_received_get_commands
| delta_phi = self.trim_wrapper.get_delta_phi(self.last_img, self.current_img)
| File "/workspace/action_invariance.py", line 65, in get_delta_phi
| delta_phi = self.model(img.double())
| File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/module.py", line 532, in __call__
| result = self.forward(*input, **kwargs)
| File "/workspace/model.py", line 123, in forward
| img_1 = self.conv_1(input[0])
| File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/module.py", line 532, in __call__
| result = self.forward(*input, **kwargs)
| File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/container.py", line 100, in forward
| input = module(input)
| File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/module.py", line 532, in __call__
| result = self.forward(*input, **kwargs)
| File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/conv.py", line 345, in forward
| return self.conv2d_forward(input, self.weight)
| File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/conv.py", line 342, in conv2d_forward
| self.padding, self.dilation, self.groups)
|RuntimeError: Expected 4-dimensional input for 4-dimensional weight 16 1 5 5, but got 3-dimensional input of size [2, 60, 80] instead
|
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/duckietown_challenges/cie_concrete.py", line 676, in scoring_context
yield cie
File "experiment_manager.py", line 446, in <module>
wrap(cie)
File "experiment_manager.py", line 434, in wrap
main(cie, logdir, attempts)
File "experiment_manager.py", line 138, in main
physics_dt=config.physics_dt)
File "experiment_manager.py", line 305, in run_episode
raise dc.InvalidSubmission(msg) from e
duckietown_challenges.exceptions.InvalidSubmission: Trouble with communication to the agent.
|