I've organized my result as the format in github and also as the fold starting_kit, but the submission still failed. The error information as follows:
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
/opt/conda/lib/python3.7/site-packages/mmcv/__init__.py:21: UserWarning: On January 1, 2023, MMCV will release v2.0.0, in which it will remove components related to the training process and add a data transformation module. In addition, it will rename the package names mmcv to mmcv-lite and mmcv-full to mmcv. See https://github.com/open-mmlab/mmcv/blob/master/docs/en/compatibility.md for more details.
'On January 1, 2023, MMCV will release v2.0.0, in which it will remove '
Traceback (most recent call last):
File "/tmp/codalab/tmp4UGyaa/run/program/metric.py", line 114, in
results_summary, results_classwise = evaluate_track_2(seg_gt_path, seg_pred_path)
File "/tmp/codalab/tmp4UGyaa/run/program/metric.py", line 93, in evaluate_track_2
metrics, None, True)
File "/tmp/codalab/tmp4UGyaa/run/program/coco.py", line 446, in evaluate_det_segm
if 'bbox' in x.keys():
AttributeError: 'str' object has no attribute 'keys'
Hope to give some advice, thanks.
Posted by: pedro_li @ Jan. 18, 2023, 5:51 p.m.the lateset error information as follows:
Traceback (most recent call last):
File "/tmp/codalab/tmpdsqI4u/run/program/metric.py", line 114, in
results_summary, results_classwise = evaluate_track_2(seg_gt_path, seg_pred_path)
File "/tmp/codalab/tmpdsqI4u/run/program/metric.py", line 93, in evaluate_track_2
metrics, None, True)
File "/tmp/codalab/tmpdsqI4u/run/program/coco.py", line 454, in evaluate_det_segm
coco_det = coco_gt.loadRes(predictions)
File "/opt/conda/lib/python3.7/site-packages/pycocotools/coco.py", line 348, in loadRes
ann['area'] = maskUtils.area(ann['segmentation'])
File "/opt/conda/lib/python3.7/site-packages/pycocotools/mask.py", line 97, in area
return _mask.area([rleObjs])[0]
File "pycocotools/_mask.pyx", line 160, in pycocotools._mask.area
File "pycocotools/_mask.pyx", line 127, in pycocotools._mask._frString
TypeError: Expected bytes, got list
@pedro_li It shows that your latest submission succeeds. I suppose your problem should be solved.
Posted by: kaycharm @ Feb. 1, 2023, 11:37 a.m.