miemie2013 / Keras-YOLOv4

yolov4 42.0% mAP.ppyolo 45.1% mAP.
446 stars 129 forks source link

MemoryError #15

Open Zhang-zhaoxin opened 4 years ago

Zhang-zhaoxin commented 4 years ago

2020-06-21 20:08:35,249-INFO: Test iter 5800 loading annotations into memory... Done (t=0.06s) creating index... index created! 2020-06-21 20:09:15,991-INFO: Generating json file... Traceback (most recent call last): File "eval.py", line 72, in box_ap = eval(_decode, images, eval_pre_path, anno_file, eval_batch_size, _clsid2catid, draw_image) File "E:\chongqingchuyuxiangmu\Keras-YOLOv4\tools\cocotools.py", line 167, in eval box_ap_stats = bbox_eval(anno_file) File "E:\chongqingchuyuxiangmu\Keras-YOLOv4\tools\cocotools.py", line 86, in bbox_eval for line in f: MemoryError 运行test_dev.py正常,但运行eval.py程序之后,出现MemoryError,请问是怎么回事?

miemie2013 commented 4 years ago

2020-06-21 20:08:35,249-INFO: Test iter 5800 loading annotations into memory... Done (t=0.06s) creating index... index created! 2020-06-21 20:09:15,991-INFO: Generating json file... Traceback (most recent call last): File "eval.py", line 72, in box_ap = eval(_decode, images, eval_pre_path, anno_file, eval_batch_size, _clsid2catid, draw_image) File "E:\chongqingchuyuxiangmu\Keras-YOLOv4\tools\cocotools.py", line 167, in eval box_ap_stats = bbox_eval(anno_file) File "E:\chongqingchuyuxiangmu\Keras-YOLOv4\tools\cocotools.py", line 86, in bbox_eval for line in f: MemoryError 运行test_dev.py正常,但运行eval.py程序之后,出现MemoryError,请问是怎么回事?

内存不够吧