Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory Error #19

Open
lookquad opened this issue Aug 6, 2021 · 0 comments
Open

Memory Error #19

lookquad opened this issue Aug 6, 2021 · 0 comments

Comments

@lookquad
Copy link

lookquad commented Aug 6, 2021

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`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant