message | InvalidSubmission:
T [...]InvalidSubmission:
Traceback (most recent call last):
File "experiment_manager.py", line 297, in run_episode
r: MsgReceived = agent.write_topic_and_expect('get_commands', expect='commands')
File "/project/src/zuper-nodes/src/zuper_nodes_wrapper/wrapper_outside.py", line 93, in write_topic_and_expect
ob: MsgReceived = self.read_one(expect_topic=expect, timeout=timeout)
File "/project/src/zuper-nodes/src/zuper_nodes_wrapper/wrapper_outside.py", line 174, in read_one
nickname=self.nickname)
File "/project/src/zuper-nodes/src/zuper_nodes_wrapper/wrapper_outside.py", line 255, in read_reply
others = read_until_over(fpout, timeout=timeout, nickname=nickname)
File "/project/src/zuper-nodes/src/zuper_nodes_wrapper/wrapper_outside.py", line 283, in read_until_over
raise RemoteNodeAborted(m)
zuper_nodes.structures.RemoteNodeAborted: External node "agent" aborted:
error in agent |Exception while handling a message on topic "get_commands".
|
|| Traceback (most recent call last):
|| File "/project/src/zuper-nodes/src/zuper_nodes_wrapper/wrapper.py", line 274, in loop
|| handle_message_node(parsed, receiver0, context0)
|| File "/project/src/zuper-nodes/src/zuper_nodes_wrapper/wrapper.py", line 428, in handle_message_node
|| call_if_fun_exists(agent, expect_fn, data=ob, context=context, timing=timing)
|| File "/project/src/zuper-nodes/src/zuper_nodes_wrapper/utils.py", line 18, in call_if_fun_exists
|| f(**kwargs)
|| File "solution.py", line 48, in on_received_get_commands
|| pwm_left, pwm_right = self.compute_action(self.current_image)
|| File "solution.py", line 43, in compute_action
|| action = self.model.select_action(observation)
|| File "/workspace/model.py", line 150, in select_action
|| return self.actor(state).cpu().data.numpy().flatten()
|| File "/usr/local/lib/python3.7/site-packages/torch/nn/modules/module.py", line 489, in __call__
|| result = self.forward(*input, **kwargs)
|| File "/workspace/model.py", line 45, in forward
|| x = self.bn1(self.lr(self.conv1(x)))
|| File "/usr/local/lib/python3.7/site-packages/torch/nn/modules/module.py", line 489, in __call__
|| result = self.forward(*input, **kwargs)
|| File "/usr/local/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 320, in forward
|| self.padding, self.dilation, self.groups)
|| RuntimeError: Given groups=1, weight of size [32, 3, 8, 8], expected input[1, 120, 160, 3] to have 3 channels, but got 120 channels instead
||
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/project/src/duckietown-challenges/src/duckietown_challenges/cie_concrete.py", line 610, in scoring_context
yield cie
File "experiment_manager.py", line 441, in <module>
wrap(cie)
File "experiment_manager.py", line 429, in wrap
main(cie, logdir, attempts)
File "experiment_manager.py", line 135, in main
physics_dt=config.physics_dt)
File "experiment_manager.py", line 301, in run_episode
raise dc.InvalidSubmission(msg) from e
duckietown_challenges.exceptions.InvalidSubmission: Trouble with communication to the agent.
|