HViktorTsoi / ACSC

Automatic Calibration for Non-repetitive Scanning Solid-State LiDAR and Camera Systems
GNU General Public License v3.0
287 stars 60 forks source link

Memory Error #19

Open lookquad opened 2 years ago

lookquad commented 2 years ago

Hi when i run calibration.py on the sample data provided, following error occurs. Please have a look into this.

`[initCompute] Failed to allocate 156063007204055648 indices. [initCompute] Failed to allocate 156063007204055648 indices. [initCompute] Failed to allocate 156063007204055648 indices. [initCompute] Failed to allocate 156063007204055648 indices. [initCompute] Failed to allocate 156063007204055648 indices. [initCompute] Failed to allocate 156063007204055648 indices. [initCompute] Failed to allocate 156063007204055648 indices. [initCompute] Failed to allocate 156063007204055648 indices. [initCompute] Failed to allocate 156063007204055648 indices. [initCompute] Failed to allocate 156063007204055648 indices. [initCompute] Failed to allocate 156063007204055648 indices. [initCompute] Failed to allocate 156063007204055648 indices. [initCompute] Failed to allocate 156063007204055648 indices. [initCompute] Failed to allocate 156063007204055648 indices. [initCompute] Failed to allocate 156063007204055648 indices. [initCompute] Failed to allocate 156063007204055648 indices. [initCompute] Failed to allocate 156063007204055648 indices. [initCompute] Failed to allocate 156063007204055648 indices. [initCompute] Failed to allocate 156063007204055648 indices. [initCompute] Failed to allocate 156063007204055648 indices. [initCompute] Failed to allocate 156063007204055648 indices.

Calculating frame: 0 / 21 multiprocessing.pool.RemoteTraceback: """ Traceback (most recent call last): File "/home/lukkuphi/anaconda3/envs/acsc/lib/python3.6/multiprocessing/pool.py", line 119, in worker result = (True, func(*args, **kwds)) File "calibration.py", line 786, in corner_detection_task ROI_pc = locate_chessboard(pc) File "calibration.py", line 402, in locate_chessboard configs['calibration']['RG_CURV_TH'] MemoryError: std::bad_alloc """

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "calibration.py", line 964, in calibration(keep_list=None) File "calibration.py", line 892, in calibration corners_world, final_cost, corners_image = detection_result[idx].get() File "/home/lukkuphi/anaconda3/envs/acsc/lib/python3.6/multiprocessing/pool.py", line 644, in get raise self._value MemoryError: std::bad_alloc`