Skip to content
Other

DDMF: 3D tooth and jaw reconstruction from CT scans and 3D models

2 min readupdated

A collection of pre-trained models for 3D segmentation of teeth and alveolar bone, followed by jaw reconstruction. Released alongside a research paper from the journal Cell Press Patterns (2023), this model combines CBCT (cone-beam computed tomography) data with intraoral 3D scans (IOS, digital dental impressions). The output consists of segmented 3D structures of teeth, bone tissue, and scan surfaces used for multimodal fusion. Unlike general-purpose models, the weights are specifically tailored for dental 3D diagnostics. It is ideal for medical imaging researchers and developers building digital dentistry pipelines.

Key features

  • The repository includes three ready-to-use weight files: tooth_iter_160000.pth for tooth segmentation, bone_iter_160000.pth for alveolar bone, and ios_model.onnx for intraoral scans.
  • The CT (CBCT) models are built on a modified MMSegmentation framework and saved as PyTorch checkpoints.
  • The intraoral scan model is exported to the ONNX format, making it easy to integrate into existing deployment scripts.
  • A SHA256SUMS.txt file is provided with the release to verify checksums and the integrity of the downloaded weights.

What you can do

  • Run tooth and bone tissue segmentation on your own CBCT datasets using the configurations from the original DDMF repository.
  • Embed ios_model.onnx into an oral 3D scan processing pipeline to automatically isolate teeth on digital impressions.
  • Use the archived checkpoints as a baseline for scientific experiments on multimodal medical 3D data fusion.

Example

For intraoral scan inference, place the ios_model.onnx file in code/seg_iosnet/deployment/app/model.onnx within the original DDMF repository and run the archived deployment scripts. For CT tooth and bone segmentation, use the tooth_iter_160000.pth and bone_iter_160000.pth checkpoints alongside the configurations from the modified MMSegmentation notes/ folder.

Read moreDetails
CBCT environment: Python 3.8, PyTorch 1.8.0, TorchVision 0.9.0, MMCV 1.3.8, and modified MMSegmentation 0.15.0.
The bone checkpoint (bone_iter_160000.pth) is an archived snapshot at iteration 160,000 and is not claimed to be the best-performing model on validation.
Patient data and standard STL jaw templates required for full template-based fusion are not included in the archive.
The models are intended strictly for research purposes and are not approved for clinical diagnosis or treatment.
Discuss Telegram 0

Will it run?

Runs in BF16

Fits without quantisation.

  • BF16weights 1.4 GB · ready files2.0 GB
  • FP8 / INT8recommendedweights 0.7 GB1.2 GB
  • 4-bitweights 0.4 GB0.9 GB

Tip: go 8-bit.FP8 / INT8 is within about a percent of full precision in quality, takes half the memory and runs faster on RTX 40/50 and H100. Full precision only pays off for fine-tuning.

What to get for this model

Massed ComputeOpen Massed Compute

Your own GPU: FP8 / INT8 — from RTX 2060 · BF16 — from RTX 2060

Massed Compute hourly prices, November 2026. The discounted price applies with the coupon at checkout.

Estimate: weights plus working memory. Long videos, high resolutions and long contexts need more.

Run it on Massed Compute

The script downloads the model to the rented machine. How to run it is in the model card.

  1. 1. Rent a machine with a fitting GPU

    Open Massed Compute
  2. 2. Paste the script into the machine's terminal

    Connect over SSH (the Massed Compute panel shows the command) or open a terminal on the machine's desktop.

    HF_TOKEN / CIVITAI_TOKENThe script starts with token lines: paste yours between the quotes. The Hugging Face token is for gated models, the Civitai one for Civitai models.

    # AlexLiu2023/DDMF
    # ===== Tokens: paste yours between the quotes =====
    export HF_TOKEN=""        # huggingface.co/settings/tokens, for gated models
    # ==========================================
    mkdir -p ~/models
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source "$HOME/.local/bin/env"
    uv tool install "huggingface_hub[cli]"
    hf download AlexLiu2023/DDMF --local-dir ~/models/DDMF
    # The model is in ~/models. How to run it is in the model card (link above).
    Add more LoRAs to DDMF
  3. 3. Use it

    The model is in ~/models. How to run it is in the model card (link above).

Stop the machine in the panel when you are done: it bills by the minute while it runs.

How to speed it up

Picked for this model type. Choose your hardware above to see what fits you exactly.

  • FlashAttention 44.0.0b41from November 25, 2026new release

    fastest exact attention on B200

    Kernels for Blackwell (beta). Exact attention without quantisation — fine for everything, LLMs included.

    How to enable: pip install flash-attn-4; vLLM and SGLang pick it up themselves.

    Earlier generations (2)
    • FlashAttention 3 — The Hopper (H100/H200) version with FP8.
    • FlashAttention 2 — The standard for RTX 30/40/50 and A100: exact attention without the memory cost of long contexts.
  • torch.compile2.15.0from October 28, 2026

    10–30% for free

    Compiles the model for your GPU. Slower first run, faster afterwards.

    How to enable: model = torch.compile(model); in ComfyUI the TorchCompileModel node.

Model family

New posts about versions of DDMF (quants, finetunes, LoRAs) will show up under the bell.

No known relatives of this model yet. All derivatives on Hugging Face

About the model

AlexLiu2023/DDMF
Author
AlexLiu2023
Category
Other
Released
Posted

On NeyroLearn

Hugging Face

00

Ask AI about this model

Answered by Gemini 4 · the chat is kept only in this tab

Comments

Other

BrainDiff

BrainDiff