Duckietown Challenges Home Challenges Submissions

Job 40433

Job ID40433
submission11024
userMoustafa Elarabi
user labeltemplate-pytorch
challengeaido5-LF-sim-validation
stepLFv-sim
statusfailed
up to date Note that this job is not up to date; the challenge has been changed.
evaluatorreg04-cb6499190cf5-1
date started
date completed
duration0:01:03
message
InvalidSubmission: T [...]
InvalidSubmission:
Traceback (most recent call last):
  File "experiment_manager.py", line 540, in run_episode
    r: MsgReceived = await loop.run_in_executor(executor, f)
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.8/site-packages/zuper_nodes_wrapper/wrapper_outside.py", line 133, in write_topic_and_expect
    ob: MsgReceived = self.read_one(expect_topic=expect, timeout=timeout)
  File "/usr/local/lib/python3.8/site-packages/zuper_nodes_wrapper/wrapper_outside.py", line 216, in read_one
    msgs = read_reply(self.fpout, timeout=timeout, waiting_for=waiting_for, nickname=self.nickname,)
  File "/usr/local/lib/python3.8/site-packages/zuper_nodes_wrapper/wrapper_outside.py", line 299, in read_reply
    others = read_until_over(fpout, timeout=timeout, nickname=nickname)
  File "/usr/local/lib/python3.8/site-packages/zuper_nodes_wrapper/wrapper_outside.py", line 327, in read_until_over
    raise RemoteNodeAborted(m)
zuper_nodes.structures.RemoteNodeAborted: External node "ego" aborted:

error in ego |Exception while handling a message on topic "get_commands".
             |
             || Traceback (most recent call last):
             ||   File "/usr/local/lib/python3.8/site-packages/zuper_nodes_wrapper/utils.py", line 21, in call_if_fun_exists
             ||     f(**kwargs)
             ||   File "solution.py", line 66, in on_received_get_commands
             ||     velocity, omega = self.compute_action(self.current_image)
             ||   File "solution.py", line 62, in compute_action
             ||     action = self.model.predict(observation)
             ||   File "/workspace/model.py", line 118, in predict
             ||     output = self.model(images)
             ||   File "/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
             ||     result = self.forward(*input, **kwargs)
             ||   File "/usr/local/lib/python3.8/site-packages/torchvision/models/squeezenet.py", line 100, in forward
             ||     x = self.features(x)
             ||   File "/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
             ||     result = self.forward(*input, **kwargs)
             ||   File "/usr/local/lib/python3.8/site-packages/torch/nn/modules/container.py", line 117, in forward
             ||     input = module(input)
             ||   File "/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
             ||     result = self.forward(*input, **kwargs)
             ||   File "/usr/local/lib/python3.8/site-packages/torch/nn/modules/conv.py", line 423, in forward
             ||     return self._conv_forward(input, self.weight)
             ||   File "/usr/local/lib/python3.8/site-packages/torch/nn/modules/conv.py", line 419, in _conv_forward
             ||     return F.conv2d(input, weight, self.bias, self.stride,
             || TypeError: conv2d(): argument 'input' (position 1) must be Tensor, not numpy.ndarray
             ||
             || The above exception was the direct cause of the following exception:
             ||
             || Traceback (most recent call last):
             ||   File "/usr/local/lib/python3.8/site-packages/zuper_nodes_wrapper/wrapper.py", line 331, in loop
             ||     handle_message_node(parsed, receiver0, context0)
             ||   File "/usr/local/lib/python3.8/site-packages/zuper_nodes_wrapper/wrapper.py", line 486, in handle_message_node
             ||     call_if_fun_exists(agent, expect_fn, data=ob, context=context, timing=timing)
             ||   File "/usr/local/lib/python3.8/site-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 PytorchRLTemplateAgent.on_received_get_commands of <__main__.PytorchRLTemplateAgent object at 0x7f85335097c0>>.
             || │       f: <bound method PytorchRLTemplateAgent.on_received_get_commands of <__main__.PytorchRLTemplateAgent object at 0x7f85335097c0>>
             || │    args: {context: <zuper_nodes_wrapper.wrapper.ConcreteContext object at 0x7f852a8347f0>}
             || │ 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 678, in scoring_context
    yield cie
  File "experiment_manager.py", line 683, in go
    wrap(cie)
  File "experiment_manager.py", line 668, 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 "experiment_manager.py", line 281, in main
    length_s = await run_episode(
  File "experiment_manager.py", line 544, 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.

Highlights

Artifacts

The artifacts are hidden.

Container logs

The logs are hidden.