thunlp / FewRel

A Large-Scale Few-Shot Relation Extraction Dataset
https://thunlp.github.io/fewrel.html
MIT License
731 stars 165 forks source link

codalab 提交失败 #85

Open eve1104 opened 1 year ago

eve1104 commented 1 year ago

你好, 我把四个 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 问题,望解答。