### Dockerfile RUN command to install dependencies Source: https://github.com/abenhamadou/3dteethseg_miccai_challenges/blob/main/refrence_algorithm_submission/README.md Installs the Python dependencies listed in requirements.txt inside the container. The --user flag installs packages for the current user. ```dockerfile RUN python -m pip install --user -rrequirements.txt ``` -------------------------------- ### JSON example of ground truth labels and instances Source: https://github.com/abenhamadou/3dteethseg_miccai_challenges/blob/main/README.md Example of the JSON file format for ground truth data. The 'labels' and 'instances' arrays have the same length as the number of vertices in the 3D scan. Label and instance '0' are reserved for gingiva; other unique instance numbers indicate the number of teeth. ```python { "id_patient": "6X24ILNE", "jaw": "upper", "labels": [0, 0, 44, 33, 34, 0, 0, 45, 0, .. ,41, 0, 0, 37, 0, 34, 45, 0, 31, 36], "instances": [0, 0, 10, 2, 12, 0, 0, 9, 0, 0, .. , 10, 0, 0, 8, 0, 0, 9, 0, 1, 8, 13], } ``` -------------------------------- ### Dockerfile base image (pytorch/pytorch:1.9.0-cuda11.1-cudnn8-runtime) Source: https://github.com/abenhamadou/3dteethseg_miccai_challenges/blob/main/refrence_algorithm_submission/README.md Base image chosen for the Docker container. The official PyTorch image with CUDA 11.1 and cuDNN 8 is recommended as the starting point for the algorithm. ```dockerfile FROM pytorch/pytorch:1.9.0-cuda11.1-cudnn8-runtime ``` -------------------------------- ### Build, Run, and Save Docker Image for 3DTeethSeg Evaluation Source: https://github.com/abenhamadou/3dteethseg_miccai_challenges/blob/main/evaluation/useful_cmd.txt Commands to build, run, and save the Docker image for the 3DTeethSeg evaluation. The build command creates the image with tag evaluation:0.1. The run command mounts the output directory to /predicted inside the container. The save command exports the image to a tar file. ```bash docker build -f Dockerfile -t evaluation:0.1 . ``` ```bash docker run --rm -v /media/oussama/60d0458f-2f1f-4c73-bfe4-93757a0b94c5/home/oussama/workspace/SegLab_challenge_submission/out:/predicted evaluation:0.1 ``` ```bash docker save evaluation:0.1 > 3DTeethSeg_evaluationv0.1.tar ``` -------------------------------- ### Dockerfile COPY instructions for algorithm files Source: https://github.com/abenhamadou/3dteethseg_miccai_challenges/blob/main/refrence_algorithm_submission/README.md Copies required files into the container: requirements.txt, the model directory, and the model weights. The --chown flag sets the ownership to 'algorithm' user. ```dockerfile COPY --chown=algorithm:algorithm requirements.txt /opt/algorithm/ COPY --chown=algorithm:algorithm model /opt/algorithm/model COPY --chown=algorithm:algorithm model.pth /opt/algorithm/checkpoints ``` -------------------------------- ### Citation entries for 3DTeethSeg and Teeth3DS Source: https://github.com/abenhamadou/3dteethseg_miccai_challenges/blob/main/README.md BibTeX entries for citing the 3DTeethSeg'22 challenge paper and the Teeth3DS benchmark paper. Use these when referencing the dataset or the challenge. ```bibtex @article{ben20233dteethseg, title={3DTeethSeg'22: 3D Teeth Scan Segmentation and Labeling Challenge}, author={Achraf Ben-Hamadou and Oussama Smaoui and Ahmed Rekik and Sergi Pujades and Edmond Boyer and Hoyeon Lim and Minchang Kim and Minkyung Lee and Minyoung Chung and Yeong-Gil Shin and Mathieu Leclercq and Lucia Cevidanes and Juan Carlos Prieto and Shaojie Zhuang and Guangshun Wei and Zhiming Cui and Yuanfeng Zhou and Tudor Dascalu and Bulat Ibragimov and Tae-Hoon Yong and Hong-Gi Ahn and Wan Kim and Jae-Hwan Han and Byungsun Choi and Niels van Nistelrooij and Steven Kempers and Shankeeth Vinayahalingam and Julien Strippoli and Aurélien Thollot and Hugo Setbon and Cyril Trosset and Edouard Ladroit}, journal={arXiv preprint arXiv:2305.18277}, year={2023} } @article{ben2022teeth3ds, title={Teeth3DS: a benchmark for teeth segmentation and labeling from intra-oral 3D scans}, author={Ben-Hamadou, Achraf and Smaoui, Oussama and Chaabouni-Chouayakh, Houda and Rekik, Ahmed and Pujades, Sergi and Boyer, Edmond and Strippoli, Julien and Thollot, Aur{\'e}lien and Setbon, Hugo and Trosset, Cyril and others}, journal={arXiv preprint arXiv:2210.06094}, year={2022} } ``` -------------------------------- ### Output JSON format for dental labels Source: https://github.com/abenhamadou/3dteethseg_miccai_challenges/blob/main/refrence_algorithm_submission/README.md Shows the expected output JSON structure for the dental labeling. The 'labels' array holds FDI codes per 3D point, and 'instances' groups points belonging to the same tooth. Label 0 and instance 0 are reserved for gingiva. ```json { "id_patient": "", "jaw": "upper", #or "lower", extracted from input "labels": [0, 0, 44, 33, 34, 0, 0, 45, 0, .. ,41, 0, 0, 37, 0, 34, 45, 0, 31, 36], # label of each 3D point in FDI format (label 0 correspond to gingiva) "instances": [0, 0, 10, 2, 12, 0, 0, 9, 0, 0, .. , 10, 0, 0, 8, 0, 0, 9, 0, 1, 8, 13], # each 3D point with same instance correspond only to one tooth # all points with the same instance (correpond exactly to one tooth) should have the same label # preferably tooth instance is in [1,2, .. , number_of_tooth_detected] # by default 0 is attributed to gingiva instance } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.