Docker Containers for Submission with mmdetection

When I first started working on this challenge I spent a lot more time trying to get the submissions working without errors than I did on training the models. Much of this time was spent trying to debug the building and execution of the Docker containers.

To avoid this problem I have created two Docker images for mmdetection :

  • skooch/mmdet-aicrowd - contains PyTorch 1.2, CUDA 10.0, and mmdet v1.0rc1
  • skooch/mmdet-aicrowd-latest - contains PyTorch 1.6, CUDA 10.1, and the latest version of mmdet

If you are using mmdetection, you can build your containers from these images and your submissions will run faster (since the images are already built) and hopefully your submissions will fail less.

2 Likes

I also have an image for Detectron2 - the latest version - with PyTorch 1.7, CUDA 10.1, torchvision 0.8.1. Note that the starter notebook uses an older version of Detectron and PyTorch which I have not checked for compatibility.

  • skooch/detectron2

This image is based on the official Detectron2 Docker image, you would need to copy your code into it and install aicrowd tools like coco, pycocotools, aicrowd_api, and aicrowd-repo2docker.

Thank you so much, I am facing the same problem with docker containers for submission with mmdetection. Where can I find the docker images that you have created please? there is no link in your previous post. Thank you

They are upload to DockerHub, so you can retrieve them with

docker pull skooch/mmdet-aicrowd-latest

Or you can reference them in your Dockerfile :

FROM skooch/mmdet-aicrowd-latest
1 Like