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.
Metadata
Release files for medicraft 0.9.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| medicraft-0.9.3.tar.gz | 31.7 kB | Without provenance | Details for medicraft-0.9.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| medicraft-0.9.3-py3-none-any.whl | Python 3 | none | any | Details for medicraft-0.9.3-py3-none-any.whl |
Total release size: 74.9 kB
Release files / medicraft-0.9.3.tar.gz
| Download URL | medicraft-0.9.3.tar.gz |
|---|---|
| Size | 31.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
276c252b9085c379eb2f935a93f5d183f986b17b6a9dee9b012ded6826f6e55f
|
|
BLAKE2b-256 checksum How to use checksums |
4c3e1e318e6b3828218021fd0d3b1ae3b4626287fefa87360505e3b0e08d2529
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.11.3 Linux/6.2.15-200.fc37.x86_64
|
Release files / medicraft-0.9.3-py3-none-any.whl
| Download URL | medicraft-0.9.3-py3-none-any.whl |
|---|---|
| Size | 43.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
72eb1e61ba488444f2c000229d53fe6e75848a2930bfece8856a7a6f2d9d27d5
|
|
BLAKE2b-256 checksum How to use checksums |
55633ec7d8b9d5066ca1a0f4ac3c2f6c8c3c2ff223c27db00affb6275348b3d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.11.3 Linux/6.2.15-200.fc37.x86_64
|
Security for medicraft 0.9.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.