> Error when upload file

Hello!
When I upload the zip file I got the nest error:
do you have any idea? because I changed the type and the separation by ","

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/tmp2KWwXd/run/program/score.py", line 60, in
submission_answer = np.loadtxt(submit_file, delimiter=",", dtype='int')
File "/opt/conda/lib/python2.7/site-packages/numpy/lib/npyio.py", line 928, in loadtxt
items = [conv(val) for (conv, val) in zip(converters, vals)]
ValueError: invalid literal for long() with base 10: '\xef\xbb\xbf1.0'

Posted by: sustaitangel @ May 10, 2022, 9:52 p.m.

Hi,

I have not found this error previously, but it seems you are using the wrong separator. Are you using a comma ","?, did you have the same problem in the development phase?

Best

HJ

Posted by: hugojair @ May 10, 2022, 10:44 p.m.
Post in this thread