配置好YOLOV3后,测试 ./darknet detect cfg/yolov3.cfg yolov3.weights data/dog.jpg,报错CUDA Error: out of memory darknet: ./src/cuda.c:36: check_error: Assertion `0' failed.
解决方法:打开yolov3.cfg,修改如下:
# Testing
batch=1 取消注释
subdivisions=1 取消注释
# Training
#batch=64 注释掉
#subdivisions=16