SensorsINI / ddd20-utils

DDD20 End-to-End Event Camera Driving Dataset
https://sites.google.com/view/davis-driving-dataset-2020/home
GNU Lesser General Public License v3.0
23 stars 11 forks source link

An error occurs when using `export.py` #1

Closed zhangxiann closed 4 years ago

zhangxiann commented 4 years ago

When I use export.py to generate frame data script

python ddd20-utils\export.py 1487339175.hdf5

An error occurs. error message

fuel_level final block: 4.0 high_beam_status final block: 1.0 longitude final block: 1.0 engine_speed final block: 26.0 fuel_consumed_since_restart final block: 23.0 accelerator_pedal_position final block: 26.0 parking_brake_status final block: 5.0 odometer final block: 21.0 torque_at_transmission final block: 26.0 windshield_wiper_status final block: 1.0 latitude final block: 1.0 headlamp_status final block: 1.0 steering_wheel_angle final block: 26.0 transmission_gear_position final block: 1.0 dvs final block: 925.0 vehicle_speed final block: 26.0 ignition_status final block: 5.0 brake_pedal_status final block: 1.0 Traceback (most recent call last): File "h5py_objects.pyx", line 200, in h5py._objects.ObjectID.dealloc KeyError: 0 Exception ignored in: 'h5py._objects.ObjectID.dealloc' Traceback (most recent call last): File "h5py_objects.pyx", line 200, in h5py._objects.ObjectID.dealloc KeyError: 0 Traceback (most recent call last): File "", line 1, in Traceback (most recent call last): File "ddd20-utils\export.py", line 103, in f_in = HDF5Stream(args.filename, export_data_vi.union({'dvs'})) File "D:\jupyter\DDD17\ddd20-utils\view.py", line 73, in init File "C:\Users\lenovo\Anaconda3\lib\multiprocessing\spawn.py", line 105, in spawn_main self.start() File "C:\Users\lenovo\Anaconda3\lib\multiprocessing\process.py", line 105, in start exitcode = _main(fd) File "C:\Users\lenovo\Anaconda3\lib\multiprocessing\spawn.py", line 115, in _main self._popen = self._Popen(self) File "C:\Users\lenovo\Anaconda3\lib\multiprocessing\context.py", line 223, in _Popen self = reduction.pickle.load(from_parent) File "stringsource", line 7, in h5py.h5f.pyx_unpickle_FileID return _default_context.get_context().Process._Popen(process_obj) File "C:\Users\lenovo\Anaconda3\lib\multiprocessing\context.py", line 322, in _Popen File "h5py_objects.pyx", line 178, in h5py._objects.ObjectID.cinit return Popen(process_obj) File "C:\Users\lenovo\Anaconda3\lib\multiprocessing\popen_spawn_win32.py", line 65, in init TypeError: cinit__() takes exactly 1 positional argument (0 given) reduction.dump(process_obj, to_child) File "C:\Users\lenovo\Anaconda3\lib\multiprocessing\reduction.py", line 60, in dump ForkingPickler(file, protocol).dump(obj) BrokenPipeError: [Errno 32] Broken pipe

duguyue100 commented 4 years ago

What is your Python version? This project is only working with Python 2 at the moment

zhangxiann commented 4 years ago

??? 为什么 2020 年还用 python 2 ?

duguyue100 commented 4 years ago

Because the project was initially written 3 years ago (original author graduated) and many specifics only apply to Python 2 (see README as well). It only takes you a few minutes to install a Python 2 environment.

zhangxiann commented 4 years ago

Thanks. I apologize for my rudeness.