Create your own algorithm

This tutorial takes you through the steps to serve your algorithm in a Docker container compatible with the requirements of grand-challenge.org. We focus on creating a Docker container to perform inference with your algorithm on test data, but most instructions apply to any algorithm.

Wrapping your algorithm in a container ensures that the environments necessary for reproducing your algorithm are packaged along with the algorithm. This is the fastest and the most reliable way to reproduce algorithms. We chose Docker as this is the most popular and widely used technology for creating containers.

Before you start

To follow the video tutorial, make sure you have the following software packages installed on your computer:

Environment

It is highly recommended to install Windows subsystem for Linux (WSL) to work with Docker on a Linux environment within Windows. In the video tutorial below, we have used WSL 2 with Ubuntu 18.04 LTS. Currently, the latest version of WSL2 on Windows 11 comes with GPU support. If you are using Windows 11, make sure to follow our guide for setting up WSL with GPU support.

Video tutorial

Apart from reading through the tutorial in the sub-tabs of this section, you can also watch the corresponding video tutorial. It provides a walkthrough of the entire process for creating an algorithm container for the DRIVE Challenge using evalutils. However, note that this video tutorial was made with evalutils v0.2.4. The rest of the written documentation here is based on evalutils v0.3, including updated documentation for testing your containers locally!

Clone the repository containing the U-Net that segments retinal blood vessels from the DRIVE Challenge and then watch the video.

$ git clone https://github.com/DIAGNijmegen/drive-vessels-unet.git 



Contact

For contact and support, please email kiranvaidhya.venkadesh@radboudumc.nl and cc support@grand-challenge.org.

Disclaimer
Icons made by Freepik from www.flaticon.com