bowenc0221 / panoptic-deeplab

This is Pytorch re-implementation of our CVPR 2020 paper "Panoptic-DeepLab: A Simple, Strong, and Fast Baseline for Bottom-Up Panoptic Segmentation" (https://arxiv.org/abs/1911.10194)
Apache License 2.0
590 stars 117 forks source link

Errors during the evaluation phase #121

Open ankur-chr opened 2 years ago

ankur-chr commented 2 years ago

I'm getting these errors in the evaluation/test phase:

Traceback (most recent call last): File "tools/test.py", line 326, in main instance_metric.update(instances, image_filename_list[i]) File "/content/drive/MyDrive/dissertation/dissertation/src/pdl/panoptic-deeplab/tools/../segmentation/evaluation/instance.py", line 56, in update add_colormap=False, scale_values=True) File "/content/drive/MyDrive/dissertation/dissertation/src/pdl/panoptic-deeplab/tools/../segmentation/utils/save_annotation.py", line 150, in save_annotation with open('%s/%s.png' % (save_dir, filename), mode='wb') as f: OSError: [Errno 5] Input/output error: './output/panoptic_deeplab_res34/instance/mask/frankfurt_000001_018113_gtFine_panoptic_5_26.png'

During handling of the above exception, another exception occurred:

ERROR [07/01 01:05:29 segmentation_test]: Exception during testing: Traceback (most recent call last): File "tools/test.py", line 326, in main instance_metric.update(instances, image_filename_list[i]) File "/content/drive/MyDrive/dissertation/dissertation/src/pdl/panoptic-deeplab/tools/../segmentation/evaluation/instance.py", line 56, in update add_colormap=False, scale_values=True) File "/content/drive/MyDrive/dissertation/dissertation/src/pdl/panoptic-deeplab/tools/../segmentation/utils/save_annotation.py", line 150, in save_annotation with open('%s/%s.png' % (save_dir, filename), mode='wb') as f: OSError: [Errno 5] Input/output error: './output/panoptic_deeplab_res34/instance/mask/frankfurt_000001_018113_gtFine_panoptic_5_26.png'

Traceback (most recent call last): File "tools/test.py", line 402, in main() File "tools/test.py", line 394, in main panoptic_results = panoptic_metric.evaluate() File "/content/drive/MyDrive/dissertation/dissertation/src/pdl/panoptic-deeplab/tools/../segmentation/evaluation/panoptic.py", line 123, in evaluate results = cityscapes_eval.evaluatePanoptic(gt_json_file, gt_folder, pred_json_file, pred_folder, resultsFile) File "/usr/local/lib/python3.7/dist-packages/cityscapesscripts/evaluation/evalPanopticSemanticLabeling.py", line 291, in evaluatePanoptic raise Exception('no prediction for the image with id: {}'.format(image_id)) Exception: no prediction for the image with id: frankfurt_000001_018113