Skip to content

Instantly share code, notes, and snippets.

@karsafar
Created May 21, 2024 10:18
Show Gist options
  • Save karsafar/6446f2a21831d47b242407971958617f to your computer and use it in GitHub Desktop.
Save karsafar/6446f2a21831d47b242407971958617f to your computer and use it in GitHub Desktop.
jpeg related error
[ReproRunner] Inference Model successfully loaded
INFO 11:13:56,021 sim.graph_sim.node_executor execute_node status=success, duration_ms=3021.1, node=get_runner
INFO 11:13:56,021 sim.graph_sim.node_executor execute_node status=start, node=get_vehicle_dynamics_config
INFO 11:13:56,021 sim.graph_sim.node_executor execute_node status=success, duration_ms=0.1, node=get_vehicle_dynamics_config
INFO 11:13:56,021 sim.graph_sim.node_executor execute_node status=start, node=execute_runner
[Mapping] Found in cache: map_tile_15_16371_10889
[Mapping] Found in cache: map_tile_15_16372_10889
__ERROR_IMG_WRITER__: /tmp/minkowski/captured_images/front-left-leftward/1709550781514938unixus.jpeg ofstream status was not good
__ERROR_IMG_WRITER__: image->getSize()=759047
__ERROR_IMG_WRITER__: image->getDataPtr()[0]=255
/home/karamsafarov/.cache/bazel/_bazel_karamsafarov/d6e54c84512d657273afc654b59f1004/execroot/WayveCode/bazel-out/k8-opt/bin/wayve/ai/evaluation/minkowski_gym/run_minkowski_gym.runfiles/pip-core_numpy/site-packages/numpy/core/fromnumeric.py:3504: RuntimeWarning: Mean of empty slice.
return _methods._mean(a, axis=axis, dtype=dtype,
/home/karamsafarov/.cache/bazel/_bazel_karamsafarov/d6e54c84512d657273afc654b59f1004/execroot/WayveCode/bazel-out/k8-opt/bin/wayve/ai/evaluation/minkowski_gym/run_minkowski_gym.runfiles/pip-core_numpy/site-packages/numpy/core/_methods.py:129: RuntimeWarning: invalid value encountered in scalar divide
ret = ret.dtype.type(ret / rcount)
ERROR 11:13:56,021 sim.repro.graph_nodes.repro runner_crashed info=
Runner Execution Debug Information
The robot simulaton crashed, the following information is from the latest sim_log we could gather.
Components Info
Debug Info for Component: Capture_camera_image
Number of executions: 0
WARNING! This component never executed, check if it was intentional!
Debug Info for Component: Capture_route_map
Number of executions: 1
Execution timestamps(us): min = 1709550781488166 max = 1709550781488166 avg delta = nan
Input mode used (# times): ComponentInputMode.PREVIOUS_MODULE (1)
Output mode used (# times): ComponentOutputMode.LOGGED (1)
Debug Info for Component: Capture_vehicle_state
Number of executions: 3
Execution timestamps(us): min = 1709550781486351 max = 1709550781506329 avg delta = 9989.0
Input mode used (# times): ComponentInputMode.PREVIOUS_MODULE (3)
Output mode used (# times): ComponentOutputMode.CUSTOM (3)
Debug Info for Component: Controller
Number of executions: 3
Execution timestamps(us): min = 1709550781489787 max = 1709550781509817 avg delta = 10015.0
Input mode used (# times): ComponentInputMode.PREVIOUS_MODULE (3)
Output mode used (# times): ComponentOutputMode.DEFAULT (3)
Debug Info for Component: Inference
Number of executions: 0
WARNING! This component never executed, check if it was intentional!
Info from last component execution:
captureCameraImage execution COMPLETED
Debug Info for Image Capturing
ERROR 11:13:56,021 sim.graph_sim.node_executor execute_node status=error, duration_ms=92.3, node=execute_runner
Traceback (most recent call last):
File "/home/karamsafarov/.cache/bazel/_bazel_karamsafarov/d6e54c84512d657273afc654b59f1004/execroot/WayveCode/bazel-out/k8-opt/bin/wayve/ai/evaluation/minkowski_gym/run_minkowski_gym.runfiles/WayveCode/wayve/sim/graph_sim/node_executor.py", line 53, in execute_graph
self._current_state[node.output] = node.execute(**input_kwargs)
File "/home/karamsafarov/.cache/bazel/_bazel_karamsafarov/d6e54c84512d657273afc654b59f1004/execroot/WayveCode/bazel-out/k8-opt/bin/wayve/ai/evaluation/minkowski_gym/run_minkowski_gym.runfiles/WayveCode/wayve/sim/graph_sim/graph.py", line 160, in execute
return self._fn(*args, **kwargs)
File "/home/karamsafarov/.cache/bazel/_bazel_karamsafarov/d6e54c84512d657273afc654b59f1004/execroot/WayveCode/bazel-out/k8-opt/bin/wayve/ai/evaluation/minkowski_gym/run_minkowski_gym.runfiles/WayveCode/wayve/sim/repro/graph_nodes/repro.py", line 106, in execute_runner
raise e
File "/home/karamsafarov/.cache/bazel/_bazel_karamsafarov/d6e54c84512d657273afc654b59f1004/execroot/WayveCode/bazel-out/k8-opt/bin/wayve/ai/evaluation/minkowski_gym/run_minkowski_gym.runfiles/WayveCode/wayve/sim/repro/graph_nodes/repro.py", line 102, in execute_runner
sim_log: SimulationLog = runner.run()
RuntimeError: sim::repro::Runner: writeCapturedImage failed to write a JPEG image
Traceback (most recent call last):
File "/home/karamsafarov/.cache/bazel/_bazel_karamsafarov/d6e54c84512d657273afc654b59f1004/execroot/WayveCode/bazel-out/k8-opt/bin/wayve/ai/evaluation/minkowski_gym/run_minkowski_gym.runfiles/WayveCode/wayve/ai/evaluation/minkowski_gym/scripts/run_minkowski_gym.py", line 76, in <module>
tyro.cli(run_minkowski_gym)
File "/home/karamsafarov/.cache/bazel/_bazel_karamsafarov/d6e54c84512d657273afc654b59f1004/execroot/WayveCode/bazel-out/k8-opt/bin/wayve/ai/evaluation/minkowski_gym/run_minkowski_gym.runfiles/pip-core_tyro/site-packages/tyro/_cli.py", line 187, in cli
output = _cli_impl(
File "/home/karamsafarov/.cache/bazel/_bazel_karamsafarov/d6e54c84512d657273afc654b59f1004/execroot/WayveCode/bazel-out/k8-opt/bin/wayve/ai/evaluation/minkowski_gym/run_minkowski_gym.runfiles/pip-core_tyro/site-packages/tyro/_cli.py", line 454, in _cli_impl
out, consumed_keywords = _calling.call_from_args(
File "/home/karamsafarov/.cache/bazel/_bazel_karamsafarov/d6e54c84512d657273afc654b59f1004/execroot/WayveCode/bazel-out/k8-opt/bin/wayve/ai/evaluation/minkowski_gym/run_minkowski_gym.runfiles/pip-core_tyro/site-packages/tyro/_calling.py", line 251, in call_from_args
return unwrapped_f(*positional_args, **kwargs), consumed_keywords # type: ignore
File "/home/karamsafarov/.cache/bazel/_bazel_karamsafarov/d6e54c84512d657273afc654b59f1004/execroot/WayveCode/bazel-out/k8-opt/bin/wayve/ai/evaluation/minkowski_gym/run_minkowski_gym.runfiles/WayveCode/wayve/ai/evaluation/minkowski_gym/scripts/run_minkowski_gym.py", line 39, in run_minkowski_gym
node_executor.execute_graph()
File "/home/karamsafarov/.cache/bazel/_bazel_karamsafarov/d6e54c84512d657273afc654b59f1004/execroot/WayveCode/bazel-out/k8-opt/bin/wayve/ai/evaluation/minkowski_gym/run_minkowski_gym.runfiles/WayveCode/wayve/sim/graph_sim/node_executor.py", line 53, in execute_graph
self._current_state[node.output] = node.execute(**input_kwargs)
File "/home/karamsafarov/.cache/bazel/_bazel_karamsafarov/d6e54c84512d657273afc654b59f1004/execroot/WayveCode/bazel-out/k8-opt/bin/wayve/ai/evaluation/minkowski_gym/run_minkowski_gym.runfiles/WayveCode/wayve/sim/graph_sim/graph.py", line 160, in execute
return self._fn(*args, **kwargs)
File "/home/karamsafarov/.cache/bazel/_bazel_karamsafarov/d6e54c84512d657273afc654b59f1004/execroot/WayveCode/bazel-out/k8-opt/bin/wayve/ai/evaluation/minkowski_gym/run_minkowski_gym.runfiles/WayveCode/wayve/sim/repro/graph_nodes/repro.py", line 106, in execute_runner
raise e
File "/home/karamsafarov/.cache/bazel/_bazel_karamsafarov/d6e54c84512d657273afc654b59f1004/execroot/WayveCode/bazel-out/k8-opt/bin/wayve/ai/evaluation/minkowski_gym/run_minkowski_gym.runfiles/WayveCode/wayve/sim/repro/graph_nodes/repro.py", line 102, in execute_runner
sim_log: SimulationLog = runner.run()
RuntimeError: sim::repro::Runner: writeCapturedImage failed to write a JPEG image
2024-05-21T10:13:58.208211Z [INFO ] Shutting down logging thread
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment