When I submit my result, the following error arises:
Traceback (most recent call last):
File "/worker/worker.py", line 323, in run
bundles = get_bundle(root_dir, 'run', bundle_url)
File "/worker/worker.py", line 180, in get_bundle
metadata[k] = get_bundle(bundle_path, k, v)
File "/worker/worker.py", line 180, in get_bundle
metadata[k] = get_bundle(bundle_path, k, v)
File "/worker/worker.py", line 171, in get_bundle
metadata = yaml.load(mf)
File "/usr/local/lib/python2.7/dist-packages/yaml/__init__.py", line 69, in load
loader = Loader(stream)
File "/usr/local/lib/python2.7/dist-packages/yaml/loader.py", line 34, in __init__
Reader.__init__(self, stream)
File "/usr/local/lib/python2.7/dist-packages/yaml/reader.py", line 85, in __init__
self.determine_encoding()
File "/usr/local/lib/python2.7/dist-packages/yaml/reader.py", line 135, in determine_encoding
self.update(1)
File "/usr/local/lib/python2.7/dist-packages/yaml/reader.py", line 165, in update
exc.encoding, exc.reason)
ReaderError: 'utf8' codec can't decode byte #xb4: invalid start byte
in "/tmp/codalab/tmpCFAMOr/run/input/res/metadata", position 10
It seems that the issue is with *readme.txt', but I have carefully checked that it's encoded in UTF-8. What should I do?
Posted by: Aashley @ Feb. 26, 2024, 1:57 p.m.I think this won't help, but I give the text in my readme.txt to demonstrate that I don't use some wired characters or emojis:
runtime per image [s] : 15.43
CPU [1] / GPU [0] : 0
Extra Data [1] / No Extra Data [0] : 1
Other description : description
By the way, this error persists even if I delete this file, i.e., only submit 5 images as a ZIP.
Posted by: Aashley @ Feb. 26, 2024, 2:08 p.m.