Open matiqul opened 6 years ago
just remove or type(resFile) == unicode
,and run it again as the readme says.
Can you mention where to change it....
As traceback shows: File "/usr/local/lib/python3.4/dist-packages/pycocotools/coco.py", line 308
But this file is read only I can not change
Then you can change the permission of the file
You can try:
Or
pycocotools
from waleedka's repoCould you please explain to me how to calculate mAR from the "utils.compute_recall" function, I understand that it returns the AR, but how should I calculate the mAR? Please help me!!
Hi I am trying to run the MSCOCO evaluation code but I find the following error: Traceback (most recent call last): File "/home/kunolab/Matiqul/Mask_RCNN-master/coco.py", line 415, in
evaluate_coco(model, dataset_val, coco, "bbox", limit=10)
File "/home/kunolab/Matiqul/Mask_RCNN-master/coco.py", line 285, in evaluate_coco
coco_results = coco.loadRes(results)
File "/usr/local/lib/python3.4/dist-packages/pycocotools/coco.py", line 308, in loadRes
if type(resFile) == str or type(resFile) == unicode:
NameError: name 'unicode' is not defined
Please how I can solve this.....