Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors during the evaluation phase #121

Open
ankur-chr opened this issue Jul 1, 2022 · 0 comments
Open

Errors during the evaluation phase #121

ankur-chr opened this issue Jul 1, 2022 · 0 comments

Comments

@ankur-chr
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant