COCO Panoptic Segmentation Challenge Forum

Go back to competition Back to thread list Post in this thread

> Error in yaml.load

Hi,

I get an error related to yaml.load(). Could you please help me decipher the source of the error? When I use the panoptic API locally on validation with same data format I can compute the results. Thank you!

PS: My first upload had a sub-folder within the zip file and thus had incorrect format. However, as per my understand my second submission should work.

Regards,
Ahmed.

Log:
Traceback (most recent call last):
File "/worker/worker.py", line 313, in run
bundles = get_bundle(root_dir, 'run', bundle_url)
File "/worker/worker.py", line 173, in get_bundle
metadata[k] = get_bundle(bundle_path, k, v)
File "/worker/worker.py", line 173, in get_bundle
metadata[k] = get_bundle(bundle_path, k, v)
File "/worker/worker.py", line 164, in get_bundle
metadata = yaml.load(mf)
File "/usr/local/lib/python2.7/site-packages/yaml/__init__.py", line 69, in load
loader = Loader(stream)
File "/usr/local/lib/python2.7/site-packages/yaml/loader.py", line 34, in __init__
Reader.__init__(self, stream)
File "/usr/local/lib/python2.7/site-packages/yaml/reader.py", line 85, in __init__
self.determine_encoding()
File "/usr/local/lib/python2.7/site-packages/yaml/reader.py", line 135, in determine_encoding
self.update(1)
File "/usr/local/lib/python2.7/site-packages/yaml/reader.py", line 165, in update
exc.encoding, exc.reason)
ReaderError: 'utf8' codec can't decode byte #xb3: invalid start byte
in "/tmp/codalab/tmpCLJzex/run/input/res/metadata", position 11

Posted by: ahmed34234 @ May 26, 2021, 9:31 p.m.

Problem is resolved :) The name of the .zip file I was uploading was too long.

Posted by: ahmed34234 @ May 27, 2021, 12:34 p.m.
Post in this thread