Duckietown Challenges Home Challenges Submissions

Job 116418

Job ID116418
submission17830
userValentina Golubeva
user labelbaseline-RL-sim-pytorch
challengeaido-LF-sim-validation
stepsim-1of4
statusfailed
up to dateyes
evaluatorgpu-production-spot-0-02
date started
date completed
duration0:04:40
message
InvalidSubmission: T [...]
InvalidSubmission:
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/duckietown_experiment_manager/code.py", line 343, in main
    length_s = await run_episode(
  File "/usr/local/lib/python3.8/dist-packages/duckietown_experiment_manager/code.py", line 702, in run_episode
    await loop.run_in_executor(executor, f)
  File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/wrapper_outside.py", line 156, in write_topic_and_expect_zero
    msgs = read_reply(self.fpout, timeout=timeout, nickname=self.nickname)
  File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/wrapper_outside.py", line 333, in read_reply
    others = read_until_over(fpout, timeout=timeout, nickname=nickname)
  File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/wrapper_outside.py", line 360, in read_until_over
    raise RemoteNodeAborted(m)
zuper_nodes.structures.RemoteNodeAborted: External node "ego0" aborted:

error in ego0 |Exception while handling a message on topic "observations".
              |
              || 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 "/workspace/solution.py", line 69, in on_received_observations
              ||     self.current_image = self.image_processor.preprocess(obs)
              ||   File "/workspace/gym_wrappers.py", line 195, in preprocess
              ||     image = np.dstack([obs[0], obs[0], obs[0]])
              ||   File "<__array_function__ internals>", line 5, in dstack
              ||   File "/usr/local/lib/python3.8/dist-packages/numpy/lib/shape_base.py", line 720, in dstack
              ||     arrs = atleast_3d(*tup)
              ||   File "<__array_function__ internals>", line 5, in atleast_3d
              ||   File "/usr/local/lib/python3.8/dist-packages/numpy/core/shape_base.py", line 191, in atleast_3d
              ||     ary = asanyarray(ary)
              ||   File "/usr/local/lib/python3.8/dist-packages/torch/_tensor.py", line 678, in __array__
              ||     return self.numpy()
              || TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.
              ||
              || 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 416, in loop
              ||     handle_message_node(parsed, receiver0, context0)
              ||   File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/wrapper.py", line 589, in handle_message_node
              ||     call_if_fun_exists(agent, expect_fn, data=ob, context=context, timing=timing)
              ||   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 PytorchRLBaseline.on_received_observations of <solution.PytorchRLBaseline object at 0x7f73650f1c40>>.
              || │       f: <bound method PytorchRLBaseline.on_received_observations of <solution.PytorchRLBaseline object at 0x7f73650f1c40>>
              || │    args: dict[2]
              || │          │ data:
              || │          │ DB20ObservationsWithTimestamp
              || │          │ │ camera:
              || │          │ │ JPGImageWithTimestamp
              || │          │ │ │ jpg_data: 83373 bytes b'\xff\xd8\xff\xe0\x00\x10JFIF'
              || │          │ │ │ timestamp: 0.0
              || │          │ │ odometry:
              || │          │ │ DB20OdometryWithTimestamp
              || │          │ │ │ resolution_rad: 0.046542113386515455
              || │          │ │ │ axis_left_rad: 0.0
              || │          │ │ │ axis_right_rad: 0.0
              || │          │ │ │ timestamp: 0.0
              || │          │ context: <zuper_nodes_wrapper.wrapper.ConcreteContext object at 0x7f71b776fd00>
              || │ argspec: <class 'inspect.FullArgSpec'>[7]
              || │          #0 [self, data, context]
              || │          #1 None
              || │          #2 None
              || │          #3 None
              || │          #4 []
              || │          #5 None
              || │          #6 {data: DB20ObservationsWithTimestamp, 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/duckietown_challenges/cie_concrete.py", line 691, in scoring_context
    yield cie
  File "/usr/local/lib/python3.8/dist-packages/duckietown_experiment_manager/experiment_manager.py", line 60, in go
    wrap(cie)
  File "/usr/local/lib/python3.8/dist-packages/duckietown_experiment_manager/experiment_manager.py", line 33, in wrap
    asyncio.run(main(cie, logdir, attempts), debug=True)
  File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.8/dist-packages/duckietown_experiment_manager/code.py", line 423, in main
    raise dc.InvalidSubmission(msg) from e
duckietown_challenges.exceptions.InvalidSubmission: external protocol violation
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.