Duckietown Challenges Home Challenges Submissions

Job 17028

Job ID17028
submission2264
userBhairav Mehta
user labelPyTorch template
challengeaido2_LF_r2-v4
stepstep1-simulation
statusfailed
up to date Note that this job is not up to date; the challenge has been changed.
evaluatornutonomy-P50-5849
date started
date completed
duration0:00:59
message
InvalidSubmission: T [...]
InvalidSubmission:
Traceback (most recent call last):
  File "experiment_manager.py", line 272, in run_episode
    r: MsgReceived = agent.read_one(expect_topic='commands')
  File "/project/src/zuper-nodes/src/zuper_nodes_wrapper/wrapper_outside.py", line 164, in read_one
    raise RemoteNodeAborted(m)  # XXX
zuper_nodes_wrapper.wrapper_outside.RemoteNodeAborted: I was waiting for a message from component "agent" but it aborted with the following error.

agent error |Exception while handling a message on topic "get_commands".
            |
            || Traceback (most recent call last):
            ||   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 633, in type_to_schema
            ||     schema = type_to_schema_(T, globals_, processing)
            ||   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 838, in type_to_schema_
            ||     raise ValueError(msg)
            || ValueError: Cannot interpret this type. (not a dataclass): <class 'numpy.float32'>
            ||
            || The above exception was the direct cause of the following exception:
            ||
            || Traceback (most recent call last):
            ||   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 132, in serialize_dataclass
            ||     res[k] = object_to_ipce(v, globals_, suggest_type=ann, with_schema=with_schema)
            ||   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 35, in object_to_ipce
            ||     res = object_to_ipce_(ob, globals_, suggest_type=suggest_type, with_schema=with_schema)
            ||   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 97, in object_to_ipce_
            ||     return serialize_dataclass(ob, globals_, with_schema=with_schema)
            ||   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 107, in serialize_dataclass
            ||     the_schema = type_to_schema(T, globals_)
            ||   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 641, in type_to_schema
            ||     raise type(e)(msg) from e
            || ValueError: Cannot get schema for <class 'numpy.float32'>:
            || │ processing: (empty dict)
            || Traceback (most recent call last):
            ||   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 633, in type_to_schema
            ||     schema = type_to_schema_(T, globals_, processing)
            ||   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 838, in type_to_schema_
            ||     raise ValueError(msg)
            || ValueError: Cannot interpret this type. (not a dataclass): <class 'numpy.float32'>
            ||
            ||
            || The above exception was the direct cause of the following exception:
            ||
            || Traceback (most recent call last):
            ||   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 132, in serialize_dataclass
            ||     res[k] = object_to_ipce(v, globals_, suggest_type=ann, with_schema=with_schema)
            ||   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 35, in object_to_ipce
            ||     res = object_to_ipce_(ob, globals_, suggest_type=suggest_type, with_schema=with_schema)
            ||   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 97, in object_to_ipce_
            ||     return serialize_dataclass(ob, globals_, with_schema=with_schema)
            ||   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 136, in serialize_dataclass
            ||     raise Exception(msg) from e
            || Exception: Cannot serialize attribute motor_left  = 0.457182914018631
            || Type <class 'aido_schemas.schemas.PWMCommands'> has annotated it as <class 'float'>
            ||
            || The above exception was the direct cause of the following exception:
            ||
            || Traceback (most recent call last):
            ||   File "/project/src/zuper-nodes/src/zuper_nodes_wrapper/wrapper.py", line 426, in loop
            ||     handle_message_node(parsed, protocol, pc, node, context_data)
            ||   File "/project/src/zuper-nodes/src/zuper_nodes_wrapper/wrapper.py", line 500, 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/wrapper.py", line 583, in call_if_fun_exists
            ||     f(**kwargs)
            ||   File "solution.py", line 50, in on_received_get_commands
            ||     context.write('commands', commands)
            ||   File "/project/src/zuper-nodes/src/zuper_nodes_wrapper/wrapper.py", line 136, in write
            ||     m[FIELD_DATA] = object_to_ipce(data, {}, with_schema=with_schema)
            ||   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 35, in object_to_ipce
            ||     res = object_to_ipce_(ob, globals_, suggest_type=suggest_type, with_schema=with_schema)
            ||   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 97, in object_to_ipce_
            ||     return serialize_dataclass(ob, globals_, with_schema=with_schema)
            ||   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 136, in serialize_dataclass
            ||     raise Exception(msg) from e
            || Exception: Cannot serialize attribute wheels  = PWMCommands(motor_left=0.4571829, motor_right=-0.12220679)
            || Type <class 'aido_schemas.schemas.Duckiebot1Commands'> has annotated it as <class 'aido_schemas.schemas.PWMCommands'>
            ||

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 399, in <module>
    wrap(cie)
  File "experiment_manager.py", line 388, in wrap
    main(cie, logdir, attempts)
  File "experiment_manager.py", line 122, in main
    physics_dt=config.physics_dt)
  File "experiment_manager.py", line 275, 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

The highlights are hidden.

Artifacts

The artifacts are hidden.

Container logs

The logs are hidden.