InvalidSubmission:
Traceback (most recent call last):
File "experiment_manager.py", line 300, in run_episode
agent.write_topic_and_expect_zero('observations', recv.data.observations)
File "/usr/local/lib/python3.7/site-packages/zuper_nodes_wrapper/wrapper_outside.py", line 105, in write_topic_and_expect_zero
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 |Exception while handling a message on topic "observations".
|
|| Traceback (most recent call last):
|| File "/usr/local/lib/python3.7/site-packages/PIL/Image.py", line 2645, in fromarray
|| mode, rawmode = _fromarray_typemap[typekey]
|| KeyError: ((1, 1, 3), '<f4')
||
|| During handling of the above exception, another exception occurred:
||
|| Traceback (most recent call last):
|| File "/usr/local/lib/python3.7/site-packages/zuper_nodes_wrapper/utils.py", line 19, in call_if_fun_exists
|| f(**kwargs)
|| File "solution.py", line 39, in on_received_observations
|| self.current_image = self.preprocessor.preprocess(obs)
|| File "/workspace/wrappers.py", line 21, in preprocess
|| observation = Image.fromarray(observation)
|| File "/usr/local/lib/python3.7/site-packages/PIL/Image.py", line 2647, in fromarray
|| raise TypeError("Cannot handle this data type")
|| TypeError: Cannot handle this data type
||
|| The above exception was the direct cause of the following exception:
||
|| Traceback (most recent call last):
|| File "/usr/local/lib/python3.7/site-packages/zuper_nodes_wrapper/wrapper.py", line 277, in loop
|| handle_message_node(parsed, receiver0, context0)
|| File "/usr/local/lib/python3.7/site-packages/zuper_nodes_wrapper/wrapper.py", line 431, in handle_message_node
|| call_if_fun_exists(agent, expect_fn, data=ob, context=context, timing=timing)
|| File "/usr/local/lib/python3.7/site-packages/zuper_nodes_wrapper/utils.py", line 22, in call_if_fun_exists
|| raise ZTypeError(msg, f=f, args=kwargs, argspec=a) from e
|| zuper_commons.types.exceptions.ZTypeError: Cannot call function <bound method PytorchRLTemplateAgent.on_received_observations of <__main__.PytorchRLTemplateAgent object at 0x7f45f0990110>>.
|| │ f: instance of method:
|| │ <bound method PytorchRLTemplateAgent.on_received_observations of <__main__.PytorchRLTemplateAgent object at 0x7f45f0990110>>
|| │ args: dict
|| │ │ data: Duckiebot1Observations(camera=JPGImage(jpg_data=58244 bytes b'\xff\xd8\xff\xe0\x00\x10JFIF'))
|| │ argspec: <class 'inspect.FullArgSpec'>
|| │ #0 [`self`, `data`]
|| │ #1 None
|| │ #2 None
|| │ #3 None
|| │ #4 []
|| │ #5 None
|| │ #6 dict
|| │ │ data:
|| │ │ dataclass aido_schemas.schemas.Duckiebot1Observations
|| │ │ field camera : dataclass aido_schemas.schemas.JPGImage
|| │ │ field jpg_data : bytes
||
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.
Artefacts hidden. If you are the author, please login using the top-right link or use the dashboard.
InvalidSubmission:
Traceback (most recent call last):
File "experiment_manager.py", line 300, in run_episode
agent.write_topic_and_expect_zero('observations', recv.data.observations)
File "/usr/local/lib/python3.7/site-packages/zuper_nodes_wrapper/wrapper_outside.py", line 105, in write_topic_and_expect_zero
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 |Exception while handling a message on topic "observations".
|
|| Traceback (most recent call last):
|| File "/usr/local/lib/python3.7/site-packages/PIL/Image.py", line 2645, in fromarray
|| mode, rawmode = _fromarray_typemap[typekey]
|| KeyError: ((1, 1, 3), '<f4')
||
|| During handling of the above exception, another exception occurred:
||
|| Traceback (most recent call last):
|| File "/usr/local/lib/python3.7/site-packages/zuper_nodes_wrapper/utils.py", line 19, in call_if_fun_exists
|| f(**kwargs)
|| File "solution.py", line 39, in on_received_observations
|| self.current_image = self.preprocessor.preprocess(obs)
|| File "/workspace/wrappers.py", line 21, in preprocess
|| observation = Image.fromarray(observation)
|| File "/usr/local/lib/python3.7/site-packages/PIL/Image.py", line 2647, in fromarray
|| raise TypeError("Cannot handle this data type")
|| TypeError: Cannot handle this data type
||
|| The above exception was the direct cause of the following exception:
||
|| Traceback (most recent call last):
|| File "/usr/local/lib/python3.7/site-packages/zuper_nodes_wrapper/wrapper.py", line 277, in loop
|| handle_message_node(parsed, receiver0, context0)
|| File "/usr/local/lib/python3.7/site-packages/zuper_nodes_wrapper/wrapper.py", line 431, in handle_message_node
|| call_if_fun_exists(agent, expect_fn, data=ob, context=context, timing=timing)
|| File "/usr/local/lib/python3.7/site-packages/zuper_nodes_wrapper/utils.py", line 22, in call_if_fun_exists
|| raise ZTypeError(msg, f=f, args=kwargs, argspec=a) from e
|| zuper_commons.types.exceptions.ZTypeError: Cannot call function <bound method PytorchRLTemplateAgent.on_received_observations of <__main__.PytorchRLTemplateAgent object at 0x7f31276a30d0>>.
|| │ f: instance of method:
|| │ <bound method PytorchRLTemplateAgent.on_received_observations of <__main__.PytorchRLTemplateAgent object at 0x7f31276a30d0>>
|| │ args: dict
|| │ │ data: Duckiebot1Observations(camera=JPGImage(jpg_data=56832 bytes b'\xff\xd8\xff\xe0\x00\x10JFIF'))
|| │ argspec: <class 'inspect.FullArgSpec'>
|| │ #0 [`self`, `data`]
|| │ #1 None
|| │ #2 None
|| │ #3 None
|| │ #4 []
|| │ #5 None
|| │ #6 dict
|| │ │ data:
|| │ │ dataclass aido_schemas.schemas.Duckiebot1Observations
|| │ │ field camera : dataclass aido_schemas.schemas.JPGImage
|| │ │ field jpg_data : bytes
||
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.
Artefacts hidden. If you are the author, please login using the top-right link or use the dashboard.
InvalidSubmission:
Traceback (most recent call last):
File "experiment_manager.py", line 300, in run_episode
agent.write_topic_and_expect_zero('observations', recv.data.observations)
File "/usr/local/lib/python3.7/site-packages/zuper_nodes_wrapper/wrapper_outside.py", line 105, in write_topic_and_expect_zero
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 |Exception while handling a message on topic "observations".
|
|| Traceback (most recent call last):
|| File "/usr/local/lib/python3.7/site-packages/PIL/Image.py", line 2645, in fromarray
|| mode, rawmode = _fromarray_typemap[typekey]
|| KeyError: ((1, 1, 3), '<f4')
||
|| During handling of the above exception, another exception occurred:
||
|| Traceback (most recent call last):
|| File "/usr/local/lib/python3.7/site-packages/zuper_nodes_wrapper/utils.py", line 19, in call_if_fun_exists
|| f(**kwargs)
|| File "solution.py", line 39, in on_received_observations
|| self.current_image = self.preprocessor.preprocess(obs)
|| File "/workspace/wrappers.py", line 21, in preprocess
|| observation = Image.fromarray(observation)
|| File "/usr/local/lib/python3.7/site-packages/PIL/Image.py", line 2647, in fromarray
|| raise TypeError("Cannot handle this data type")
|| TypeError: Cannot handle this data type
||
|| The above exception was the direct cause of the following exception:
||
|| Traceback (most recent call last):
|| File "/usr/local/lib/python3.7/site-packages/zuper_nodes_wrapper/wrapper.py", line 277, in loop
|| handle_message_node(parsed, receiver0, context0)
|| File "/usr/local/lib/python3.7/site-packages/zuper_nodes_wrapper/wrapper.py", line 431, in handle_message_node
|| call_if_fun_exists(agent, expect_fn, data=ob, context=context, timing=timing)
|| File "/usr/local/lib/python3.7/site-packages/zuper_nodes_wrapper/utils.py", line 22, in call_if_fun_exists
|| raise ZTypeError(msg, f=f, args=kwargs, argspec=a) from e
|| zuper_commons.types.exceptions.ZTypeError: Cannot call function <bound method PytorchRLTemplateAgent.on_received_observations of <__main__.PytorchRLTemplateAgent object at 0x7f6fe3b4d110>>.
|| │ f: instance of method:
|| │ <bound method PytorchRLTemplateAgent.on_received_observations of <__main__.PytorchRLTemplateAgent object at 0x7f6fe3b4d110>>
|| │ args: dict
|| │ │ data: Duckiebot1Observations(camera=JPGImage(jpg_data=58255 bytes b'\xff\xd8\xff\xe0\x00\x10JFIF'))
|| │ argspec: <class 'inspect.FullArgSpec'>
|| │ #0 [`self`, `data`]
|| │ #1 None
|| │ #2 None
|| │ #3 None
|| │ #4 []
|| │ #5 None
|| │ #6 dict
|| │ │ data:
|| │ │ dataclass aido_schemas.schemas.Duckiebot1Observations
|| │ │ field camera : dataclass aido_schemas.schemas.JPGImage
|| │ │ field jpg_data : bytes
||
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.
Artefacts hidden. If you are the author, please login using the top-right link or use the dashboard.