COCO Detection Challenge (Segmentation Mask) Forum

Go back to competition Back to thread list Post in this thread

> Question about test-dev!

When I upload my json file, an error occur!

Traceback (most recent call last):
File "/tmp/codalab/tmp6FeyDE/run/program/run.py", line 26, in <module>
metadata = yaml.load(stream)
TypeError: load() missing 1 required positional argument: 'Loader'

I think it is because the version of pyyaml is a new version. And can you edit your code in run.py?
Like this, "metadata = yaml.load(stream, Loader=yaml.FullLoader)"

Posted by: solo-lac @ Sept. 23, 2022, 11:05 a.m.

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/tmpU4I0ny/run/program/run.py", line 26, in
metadata = yaml.load(stream)
TypeError: load() missing 1 required positional argument: 'Loader'

Posted by: wendi @ Sept. 24, 2022, 8:30 a.m.

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/tmp4OmEme/run/program/run.py", line 26, in
metadata = yaml.load(stream)
TypeError: load() missing 1 required positional argument: 'Loader'

Posted by: wskkk @ Sept. 24, 2022, 12:18 p.m.
Post in this thread