Skip to main content

Medicraft synthetic dataset generator

Project description

Medicraft

About

The medical imaging analysis using machine learning encounters challenges such as limited and imbalanced datasets, often constrained by privacy concerns related to patient information. The Medicraft project addresses these limitations by developing software capable of generating synthetic and diverse medical datasets from imaging information. In cooperation with the University Clinical Hospital in Poznan this tool utilizes OCT eye scans, featuring images with abnormalities like tumors and melanomas. To reduce the scarcity of real data, for medically rare cases, the solution uses diffusion models (Denoising Diffusion Probabilistic Model) to create synthetic balanced datasets which can facilitate better research and education in machine learning for medical image analysis and classification. The project uses a data-driven learning approach focused on analyzing the generated data, where synthetic images are analyzed for accuracy with the medical team, in order to achieve the best possible result.

Documentation

The documentation for the project can be found here.

Installation

Using conda (recomended)

Create an environment from the environment.yml file:

conda env create -f environment.yml

Using pip

Install the required packages using pip:

pip install -r requirements.txt

As a package (torch dependencies needs to be solved manually)

To install the project as a package, run the following command:

pip install medicraft

Post-Installation Steps

After successfully installing Medicraft, it is highly recommended to familiarize yourself with the documentation. You can find the detailed documentation here.

Usage

To learn how to run the project, refer to the usage instructions provided in the documentation here.

For running a project create config.yml file and run the following command:

python src/main.py -f config.yml

See config examples here: configs

For more information on how to install the project, please refer to the installation guide.


The conference poster provides information about the project. You can find it here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

medicraft-0.9.2.tar.gz (31.7 kB view details)

Uploaded Source

Built Distribution

medicraft-0.9.2-py3-none-any.whl (43.1 kB view details)

Uploaded Python 3

File details

Details for the file medicraft-0.9.2.tar.gz.

File metadata

  • Download URL: medicraft-0.9.2.tar.gz
  • Upload date:
  • Size: 31.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.11.3 Linux/6.2.15-200.fc37.x86_64

File hashes

Hashes for medicraft-0.9.2.tar.gz
Algorithm Hash digest
SHA256 62349949559e014168d15a3351f31745ae612dcc99266b881752ecc56964bed9
MD5 d194f2191528c7278b2cfa20680c4c4f
BLAKE2b-256 5592708a18eb021c24f6e8a65ed8ffd57e0b0cd9c2c5e71e2cfc1edf486c9e62

See more details on using hashes here.

File details

Details for the file medicraft-0.9.2-py3-none-any.whl.

File metadata

  • Download URL: medicraft-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 43.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.11.3 Linux/6.2.15-200.fc37.x86_64

File hashes

Hashes for medicraft-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c460dc1461a8b34e7ea79b9b266c9304001bd44ead6f16156f7bce93a88c8494
MD5 7cc7abe177c8bc1e44134328ca6770d7
BLAKE2b-256 e365bdcbbd370854cf1483ef4476032383047c4fc505aa6615e8860db7ff2446

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page