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

codalab 提交失败 #85

Open
eve1104 opened this issue Jul 9, 2023 · 0 comments
Open

codalab 提交失败 #85

eve1104 opened this issue Jul 9, 2023 · 0 comments

Comments

@eve1104
Copy link

eve1104 commented Jul 9, 2023

你好,
我把四个 pred-$N-$K.json 文件压缩到一个.zip 文件上传后得到这个错误:
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
Traceback (most recent call last):
File "/tmp/codalab/tmpnZghPI/run/program/evaluate.py", line 17, in
ur_result = json.load(open(os.path.join(input_dir, 'res', 'pred-{}.json'.format(key))))
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/codalab/tmpnZghPI/run/input/res/pred-5-1.json'

接着,我试着只提供 pred-5-1.json 的压缩文件,出现:
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
Traceback (most recent call last):
File "/tmp/codalab/tmpcu9cHt/run/program/evaluate.py", line 23, in
if(ur_result[i] == std_out[i]):
IndexError: list index out of range

我这边无法操作,搜到的解答都是Docker 问题,望解答。

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