pjreddie / darknet

Convolutional Neural Networks
http://pjreddie.com/darknet/
Other
25.7k stars 21.33k forks source link

CUDA Error: an illegal memory access was encountered python: ./src/cuda.c:36: check_error: Assertion `0' failed. Aborted (core dumped) #2251

Open zabir-nabil opened 4 years ago

zabir-nabil commented 4 years ago

CPU:

Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                48
On-line CPU(s) list:   0-47
Thread(s) per core:    2
Core(s) per socket:    12
Socket(s):             2
NUMA node(s):          2
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 85
Model name:            Intel(R) Xeon(R) Gold 5118 CPU @ 2.30GHz
Stepping:              4
CPU MHz:               2000.000
CPU max MHz:           2301.0000
CPU min MHz:           1000.0000
BogoMIPS:              4601.72
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              1024K
L3 cache:              16896K
NUMA node0 CPU(s):     0-11,24-35
NUMA node1 CPU(s):     12-23,36-47

GPU: Tesla V100-SXM2, 32 GB, compute_70

I have written a flask app, usually, everything runs fine. But when the app is accessed from multiple browsers I get the following error during inference:

CUDA Error: an illegal memory access was encountered
python: ./src/cuda.c:36: check_error: Assertion `0' failed.
Aborted (core dumped)

Has anyone faced any similar issue?

kekezhai commented 4 years ago

you can set darknet/cfg/yolov3.cfg, minify batch and subdivisions or minify width and height, hope it works

pentanol2 commented 3 years ago

you can set darknet/cfg/yolov3.cfg, minify batch and subdivisions or minify width and height, hope it works

Could explain the reason of this error ?