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

Running YOLOv8 model on OAK D Pro Wide camera. I keep getting a not enough memory error. #483

Open
ahmed-gaal opened this issue May 30, 2023 · 2 comments

Comments

@ahmed-gaal
Copy link

No description provided.

@ahmed-gaal
Copy link
Author

ahmed-gaal commented May 30, 2023

i keep getting this error
2023-05-30 12:14:18] INFO [root.__init__:127] Setting IR laser dot projector brightness to 800mA [18443010D1A1840E00] [20.3.4.1.3] [7.950] [SpatialDetectionNetwork(2)] [error] Tried to allocate '38907200'B out of '5717503'B available. [18443010D1A1840E00] [20.3.4.1.3] [7.953] [SpatialDetectionNetwork(2)] [error] Neural network executor '0' out of '2' error: OUT_OF_MEMORY [18443010D1A1840E00] [20.3.4.1.3] [7.954] [SpatialDetectionNetwork(2)] [error] Tried to allocate '38907200'B out of '5717503'B available. [18443010D1A1840E00] [20.3.4.1.3] [7.959] [SpatialDetectionNetwork(2)] [error] Neural network executor '1' out of '2' error: OUT_OF_MEMORY [18443010D1A1840E00] [20.3.4.1.3] [7.959] [SpatialDetectionNetwork(2)] [error] Not enough memory to start a given neural network, needed at least: 38907200B [2023-05-30 12:14:28] INFO [root.__exit__:297] Closing OAK camera

@ahmed-gaal ahmed-gaal changed the title Hi. Hi. I'm having trouble running YOLOv8 model on OAK D Pro Wide camera. I keep getting a not enough memory error. May 30, 2023
@ahmed-gaal ahmed-gaal changed the title Hi. I'm having trouble running YOLOv8 model on OAK D Pro Wide camera. I keep getting a not enough memory error. Running YOLOv8 model on OAK D Pro Wide camera. I keep getting a not enough memory error. May 30, 2023
@Erol444
Copy link
Member

Erol444 commented Jun 1, 2023

Hi @ahmed-gaal , My guess is that you don't have enough memory:) Useful documentation in such case: https://docs.luxonis.com/projects/api/en/latest/tutorials/ram_usage/
But most of ram is likely consumed by your model. I'd go with small/tiny/nano arch of yolo.

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

2 participants