How to install pip package for scoring program

64 views
Skip to first unread message

rajao

unread,
Oct 18, 2021, 3:55:25 AM10/18/21
to codalab-competitions
Dear all,

We are building a challenge for object detection and would like to use the mscoco evaluation tools as core metrics computation for our scoring program.

It seems that we need to install pycocotools in order to use it in the scoring program. But, the documentation is not clear on how we can install additional pip package if we want to run the challenge on the official codalab instance ?

Best,

Jaonary

Adrien Pavao

unread,
Oct 22, 2021, 7:12:46 AM10/22/21
to codalab-competitions
Hi Jaonary,

All you have to do is to provide a "competition Docker image" which contains the desired packages.

By default, the scoring program runs inside a container of the Docker image "codalab/codalab-legacy:py37". You can fork it and edit it, or provide your own image.
Just put the DockerHub ID of the image in the right field in the "EDIT" menu, or in the bundle's competition.yaml file (competition_docker_image argument).

I hope this helps.

Best regards,

Adrien

rajao

unread,
Oct 22, 2021, 9:57:14 AM10/22/21
to codalab-competitions
Thank you Adrien. You confirm my thoughts. 
It would be great to find this kind of information easily on the documentation.
Best regards,
Jaonary
Reply all
Reply to author
Forward
0 new messages