title: CUDA:out of memory error on darknet yolov1
body: <p>I am trying to run darknet YOLOv1 code on GPU Tesla K40.</p>
  
  <p>Everything was working fine a few days before with parameter "ARCH= --gpu-architecture=compute_20 --gpu-code=compute_20" in makefile. </p>
  
  <p>But, Today when I did make again. "make" worked but on running YOLO's demo on video is giving following error<a href="https://i.stack.imgur.com/CJfYd.png" rel="noreferrer"><img src="https://i.stack.imgur.com/CJfYd.png" alt="CUDA:OutOfMemoryError"></a></p>
  
  <p>I tried different ARCH parameters like compute_30 , 35 , 52.. But nothing is working.</p>
  
  <p>What coulde be the possible solutions?</p>
  
  <p>Note: darknet yoloV2 is working fine. I am implementing the following blog : <a href="http://guanghan.info/blog/en/my-works/train-yolo/" rel="noreferrer">http://guanghan.info/blog/en/my-works/train-yolo/</a></p>