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

about codalab error #4

Open
zhangxiaoxiao-tech opened this issue Mar 19, 2023 · 1 comment
Open

about codalab error #4

zhangxiaoxiao-tech opened this issue Mar 19, 2023 · 1 comment

Comments

@zhangxiaoxiao-tech
Copy link

When I follow the example to submit my zip of json to codalab, it gives me an error:

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 #xaf: invalid start byte
in "/tmp/codalab/tmpOjOaDx/run/input/res/metadata", position 11

How can I fix the error?

@houzhijian
Copy link
Owner

houzhijian commented Mar 19, 2023

Hi,

Thanks for your interest in this work, CONQUER.

Based on your given information, the problem seems to be related to the format of your JSON file. But I am sorry that I also don't know the exact solution.

Please refer to the page "https://github.com/jayleicn/TVRetrieval/blob/master/standalone_eval/README.md" and cross-check the provided sample and your JSON file.

I hope this reply is helpful to you.

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

2 participants