Ma-Dan / keras-yolo4

A Keras implementation of YOLOv4 (Tensorflow backend)
MIT License
382 stars 176 forks source link

MemoryError #26

Open Zhang-zhaoxin opened 4 years ago

Zhang-zhaoxin commented 4 years ago

在新版的https://github.com/miemie2013/Keras-YOLOv4代码中,运行出现eval.py程序出现 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,请问是怎么回事?