UT-Austin-RPL / Coopernaut

Coopernaut: End-to-End Driving with Cooperative Perception for Networked Vehicles
81 stars 18 forks source link

pickle5.pickle.PicklingError: Could not pickle object as excessively deep recursion required. #11

Closed ruiiu closed 8 months ago

ruiiu commented 8 months ago

I followed the installation procedure. It's okay to run scenario_runner.py. But the following error keeps happening when running python AutoCastSim/parallel_scenario_runner.py, do you know what's happening?

Traceback (most recent call last): File "/home/ruiliu/.conda/envs/caml/lib/python3.7/site-packages/numba/core/pythonapi.py", line 1378, in serialize_object gv = self.module.__serialized[obj] KeyError: (<class 'RuntimeError'>, ('numba jitted function aborted due to unresolved symbol',), None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "AutoCastSim/parallel_scenario_runner.py", line 11, in from AVR.DataLogger import DataLogger File "/home/ruiliu/research/caml/CollabDM/Coopernaut/AutoCastSim/AVR/init.py", line 26, in class Utils: File "/home/ruiliu/research/caml/CollabDM/Coopernaut/AutoCastSim/AVR/init.py", line 519, in Utils @jit(nopython=True) File "/home/ruiliu/.conda/envs/caml/lib/python3.7/site-packages/numba/core/decorators.py", line 210, in wrapper dispatcher_args) File "/home/ruiliu/.conda/envs/caml/lib/python3.7/site-packages/numba/core/dispatcher.py", line 824, in init self.targetctx = self.targetdescr.target_context File "/home/ruiliu/.conda/envs/caml/lib/python3.7/site-packages/numba/core/registry.py", line 47, in target_context return self._toplevel_target_context File "/home/ruiliu/.conda/envs/caml/lib/python3.7/site-packages/numba/core/utils.py", line 430, in get val = self.func(instance) File "/home/ruiliu/.conda/envs/caml/lib/python3.7/site-packages/numba/core/registry.py", line 31, in _toplevel_target_context return cpu.CPUContext(self.typing_context, self._target_name) File "/home/ruiliu/.conda/envs/caml/lib/python3.7/site-packages/numba/core/cpu.py", line 40, in init super().init(typingctx, target) File "/home/ruiliu/.conda/envs/caml/lib/python3.7/site-packages/numba/core/base.py", line 257, in init self.init() File "/home/ruiliu/.conda/envs/caml/lib/python3.7/site-packages/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock return func(*args, *kwargs) File "/home/ruiliu/.conda/envs/caml/lib/python3.7/site-packages/numba/core/cpu.py", line 59, in init rtsys.initialize(self) File "/home/ruiliu/.conda/envs/caml/lib/python3.7/site-packages/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock return func(args, kwargs) File "/home/ruiliu/.conda/envs/caml/lib/python3.7/site-packages/numba/core/runtime/nrt.py", line 41, in initialize self._library = nrtdynmod.compile_nrt_functions(ctx) File "/home/ruiliu/.conda/envs/caml/lib/python3.7/site-packages/numba/core/runtime/nrtdynmod.py", line 210, in compile_nrt_functions ir_mod, library = create_nrt_module(ctx) File "/home/ruiliu/.conda/envs/caml/lib/python3.7/site-packages/numba/core/runtime/nrtdynmod.py", line 200, in create_nrt_module _define_nrt_unresolved_abort(ctx, ir_mod) File "/home/ruiliu/.conda/envs/caml/lib/python3.7/site-packages/numba/core/runtime/nrtdynmod.py", line 177, in _define_nrt_unresolved_abort ctx.call_conv.return_user_exc(builder, RuntimeError, (msg,)) File "/home/ruiliu/.conda/envs/caml/lib/python3.7/site-packages/numba/core/callconv.py", line 404, in return_user_exc loc=loc, func_name=func_name) File "/home/ruiliu/.conda/envs/caml/lib/python3.7/site-packages/numba/core/callconv.py", line 396, in set_static_user_exc struct_gv = pyapi.serialize_object(exc) File "/home/ruiliu/.conda/envs/caml/lib/python3.7/site-packages/numba/core/pythonapi.py", line 1380, in serialize_object struct = self.serialize_uncached(obj) File "/home/ruiliu/.conda/envs/caml/lib/python3.7/site-packages/numba/core/pythonapi.py", line 1351, in serialize_uncached data = serialize.dumps(obj) File "/home/ruiliu/.conda/envs/caml/lib/python3.7/site-packages/numba/core/serialize.py", line 57, in dumps p.dump(obj) File "/home/ruiliu/.conda/envs/caml/lib/python3.7/site-packages/numba/cloudpickle/cloudpickle_fast.py", line 575, in dump raise pickle.PicklingError(msg) from e pickle5.pickle.PicklingError: Could not pickle object as excessively deep recursion required.