message | InvalidSubmission:
T [...]InvalidSubmission:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/duckietown_experiment_manager/code.py", line 242, in main
robot_ci.write_topic_and_expect_zero("seed", config.seed)
File "/usr/local/lib/python3.8/site-packages/zuper_nodes_wrapper/wrapper_outside.py", line 143, in write_topic_and_expect_zero
msgs = read_reply(self.fpout, timeout=timeout, nickname=self.nickname)
File "/usr/local/lib/python3.8/site-packages/zuper_nodes_wrapper/wrapper_outside.py", line 309, in read_reply
raise RemoteNodeAborted(msg)
zuper_nodes.structures.RemoteNodeAborted: The remote node "ego0" aborted with the following error:
error in ego0 |Unexpected error:
|
|| Traceback (most recent call last):
|| File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/utils.py", line 21, in call_if_fun_exists
|| f(**kwargs)
|| File "solution.py", line 45, in init
|| self.model = cbcNet.get_inference("cbcNet.h5")
|| File "/submission/cbcNet.py", line 93, in get_inference
|| (driving_cmd, anomaly_detection) = cbcNet.build_cbc_net(rgb_input)
|| File "/submission/cbcNet.py", line 66, in build_cbc_net
|| prediction = Switch(Less_equal(anomaly, 0.5), anomaly_controller(prediction),
|| TypeError: switch() got an unexpected keyword argument 'name'
||
|| The above exception was the direct cause of the following exception:
||
|| Traceback (most recent call last):
|| File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/wrapper.py", line 322, in loop
|| call_if_fun_exists(node, "init", context=context_data)
|| File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/utils.py", line 24, 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 DuckieChallenger.init of <__main__.DuckieChallenger object at 0x7fb488a63df0>>.
|| │ f: <bound method DuckieChallenger.init of <__main__.DuckieChallenger object at 0x7fb488a63df0>>
|| │ args: {context: <zuper_nodes_wrapper.wrapper.ConcreteContext object at 0x7fb470c99430>}
|| │ argspec: ([self, context], None, None, None, [], None, {context: <class 'zuper_nodes_wrapper.interface.Context'>} )
||
|| The above exception was the direct cause of the following exception:
||
|| Traceback (most recent call last):
|| File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/wrapper.py", line 339, in loop
|| raise Exception(msg) from e
|| Exception: Exception while calling the node's init() function.
||
|| | Traceback (most recent call last):
|| | File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/utils.py", line 21, in call_if_fun_exists
|| | f(**kwargs)
|| | File "solution.py", line 45, in init
|| | self.model = cbcNet.get_inference("cbcNet.h5")
|| | File "/submission/cbcNet.py", line 93, in get_inference
|| | (driving_cmd, anomaly_detection) = cbcNet.build_cbc_net(rgb_input)
|| | File "/submission/cbcNet.py", line 66, in build_cbc_net
|| | prediction = Switch(Less_equal(anomaly, 0.5), anomaly_controller(prediction),
|| | TypeError: switch() got an unexpected keyword argument 'name'
|| |
|| | The above exception was the direct cause of the following exception:
|| |
|| | Traceback (most recent call last):
|| | File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/wrapper.py", line 322, in loop
|| | call_if_fun_exists(node, "init", context=context_data)
|| | File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/utils.py", line 24, 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 DuckieChallenger.init of <__main__.DuckieChallenger object at 0x7fb488a63df0>>.
|| | │ f: <bound method DuckieChallenger.init of <__main__.DuckieChallenger object at 0x7fb488a63df0>>
|| | │ args: {context: <zuper_nodes_wrapper.wrapper.ConcreteContext object at 0x7fb470c99430>}
|| | │ argspec: ([self, context], None, None, None, [], None, {context: <class 'zuper_nodes_wrapper.interface.Context'>} )
|| |
||
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/duckietown_challenges/cie_concrete.py", line 681, in scoring_context
yield cie
File "/usr/local/lib/python3.8/site-packages/duckietown_experiment_manager/experiment_manager.py", line 68, in go
wrap(cie)
File "/usr/local/lib/python3.8/site-packages/duckietown_experiment_manager/experiment_manager.py", line 34, in wrap
asyncio.run(main(cie, logdir, attempts), debug=True)
File "/usr/local/lib/python3.8/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/usr/local/lib/python3.8/site-packages/duckietown_experiment_manager/code.py", line 249, in main
raise InvalidSubmission(msg) from e
duckietown_challenges.exceptions.InvalidSubmission: Getting agent protocol
|