JoyceWLee / LDCTIQAG_reference_docker

3 stars 1 forks source link

Reference Algorithm Container for LDCTIQAC2023

This docker image contains a reference implementation that serve as a template for you to implementat your own algorithm for submission at LDCTIQAC2023. This repository was created by referring to the MIDOG challenge.

Content:

1.Prerequisites

2.An overview of the structure of this example

3.Packing algorithm into a docker container image

4.Buliding container

5.Testing container and gernerating the bundle for uploading your algorithm

6.Creating an algorithm on Grand Challenge and submitting the solution to LDCTIQAC2023 Challenge

1.Prerequisites

For further clarification, an example of a test batch is provided here. Please note that this example is provided for illustrative purposes only and does not represent the actual content of the test batch. While this example consists of the same 100 stacked images, the actual test batch will contain random images with diverse image quality scores. Using this example, the output file will contain 100 image quality scores, corresponding to a stack of 100 slice images that make up one test batch. For example:

[
    0.5592130422592163,
    0.5592130422592163,
    0.5592130422592163,
    0.5592130422592163,
    0.5592130422592163,
    0.5592130422592163,
    0.5592130422592163,
    ...
]

3.Packing algorithm into a docker container image

To use this algorithm as a template for submitting your entry to the challenge, follow these steps. First, open the process.py file and make the necessary changes marked with TODO. When testing your code locally, set execute_in_docker=False, but don't forget to switch it back to execute_in_docker=True before running the code in the docker container.

If your algorithm requires additional libraries or files, you can modify the requirements.txt file and the Dockerfile as needed. This will ensure that the required files and folders are copied appropriately. Check out the graphic description of the MIDOG Challenge below.

midog_exmple

4.Buliding container