Sign inSign up

kaveh8/wsi-ddpm

By kaveh8

•Updated over 3 years ago

A denoising diffusion probabilistic model (DDPM) for generating whole-slide images (WSI)

Image
Data science
0

309

kaveh8/wsi-ddpm repository overview

⁠WSI Generation with DDPM

WSI image

⁠Overview

This Docker image allows you to generate synthetic Whole Slide Imaging (WSI) patches using the Diffusion-based Denoising Probabilistic Model (DDPM). By running this image, you will have access to a user-friendly Gradio interface hosted on localhost:8080.

⁠GPU

If you prefer to run the inference on a GPU, follow these steps:

  1. Install the Nvidia Toolkit to utilize the host Nvidia drivers:

    sudo apt install nvidia-container-toolkit
    sudo nvidia-ctk runtime configure
    
  2. Pull the Docker image:

    sudo docker pull kaveh8/wsi-ddpm:latest
    
  3. Run the Docker container using the following command:

    sudo docker run --rm -p8080:8080 -it --gpus all kaveh8/wsi-ddpm
    

⁠CPU

If a GPU is not available, you can still run the image on a CPU, although it may take longer to process.

  1. Pull the Docker image:

    sudo docker pull kaveh8/wsi-ddpm:latest
    
  2. Run the Docker container using the following command:

    sudo docker run --rm -p8080:8080 -it kaveh8/wsi-ddpm
    

After running the image, open your web browser and navigate to the localhost:8080 to start generating samples.

Feel free to customize the Docker command based on your requirements and system configuration.

Enjoy generating synthetic WSI patches effortlessly with this Docker image!

Tag summary

Content type

Image

Digest

sha256:7f9183310…

Size

5.3 GB

Last updated

over 3 years ago

docker pull kaveh8/wsi-ddpm