Skip to main content

Agentic AutoML for Biomedical Image Analysis

Project description

CREA

CREA is designed to be a Collaborative Failure-aware REasoning Agent for Biomedical AutoML.

Quick Start

Setup environment

We recommend using uv to manage the environment and dependencies.

  1. Install uv (if you haven't already):
pip install uv

or using the standalone installer:

curl -LsSf https://astral.sh/uv/install.sh | sh
  1. Create a virtual environment with Python 3.11:
uv venv --python 3.11
source .venv/bin/activate  # On Windows use: .venv\Scripts\activate
  1. Install dependencies:
uv pip install -r requirements.txt
uv pip install -e .
  1. Set up API keys: Set up your private API key for OPENAI-compatible endpoints:
export OPENAI_BASE_URL="<your base url>" # (e.g. https://api.openai.com/v1)
export OPENAI_API_KEY="<your key>"

Setup knowledge base for RAG Tool

You can create the knowledge base with create_rag_db.sh. For MONAI-1.4.0, you can also download from Huggingface.

You could use this command to check whether the creation succeeds.

python -m crea.monai_rag.query_rag_db

Test with Example Dataset

You can download the example dataset from Huggingface. Download command:

hf download blueyo0/organmnist3d --local-dir dataset/organmnist3d --repo-type dataset

Then run the quick_start.sh to test:

bash quick_start.sh

🙏 Acknowledgement

  • We thank all medical workers and dataset owners for making public datasets available to the community.
  • Thanks to the open-source of the following projects, our code is developed based on their contributions:

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

crea_med-0.0.3.tar.gz (44.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crea_med-0.0.3-py3-none-any.whl (55.4 kB view details)

Uploaded Python 3

File details

Details for the file crea_med-0.0.3.tar.gz.

File metadata

  • Download URL: crea_med-0.0.3.tar.gz
  • Upload date:
  • Size: 44.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for crea_med-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0a553a327eb8207dbd3a8892d2266fe9066cec7629240cfaf964eba49a71f4c0
MD5 099bc6f0eaf1175b1833bcce682364f8
BLAKE2b-256 adc34581a0aa67f1a9291699bb8cbfe8dfb355837654e8dd392f7afd552c51e4

See more details on using hashes here.

File details

Details for the file crea_med-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: crea_med-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 55.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for crea_med-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ee7b45ef6b0cfb569e0cfcbe7689d448a66159d9e84fb6b11a33eae11c5fd555
MD5 4d8700ee94453dbf4fbf9618b750d333
BLAKE2b-256 ef1852a6df45efaa5f9ed82cba6a81b0e897583a8d7b30b2bca6e53e80cf8864

See more details on using hashes here.

Supported by

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