Install
- NVIDIA GPU: good test coverage.
- Mac M-series: good reports.
- AMD GPUs: not tested.
- CPU: should work, but can be slow.
Models (Cellpose, StarDist, ...) are not installed up front. AI Lab runs them through scikit-ops, which builds each model's environment the first time you use it. That first run takes several minutes.
1. napari, no code
From 0.1.0a9 AI Lab is listed on the napari hub, so it installs from inside napari with no terminal.
- Install napari from napari.org (the bundled app: download the installer and run it).
- Start napari, then Plugins → Install/Uninstall Plugins...
- Search for napari-ai-lab, click Install, and restart napari when asked.
That installs scikit-ops with it, so Cellpose, StarDist and the other models are available; each builds its environment the first time you run it.
2. pip and conda
conda create -n napari-ai-lab -c conda-forge python=3.12 napari pyqt
conda activate napari-ai-lab
pip install napari-ai-lab albumentations
For interactive SAM, also install micro-sam (several GB):
conda install -c conda-forge micro_sam
3. pixi
Install pixi, then reopen the terminal
so pixi is on the path.
Pick one environment and download its pixi.toml into an empty folder:
- microsam: includes interactive SAM. Several GB, mostly torch and CUDA.
- lite: no SAM. Much smaller.
mkdir napari-ai-lab
cd napari-ai-lab
curl -O https://raw.githubusercontent.com/True-North-Intelligent-Algorithms/napari-ai-lab/main/pixi/install/microsam/pixi.toml
pixi run napari
For lite, replace microsam with lite in the URL. The first
pixi run installs everything; later runs start straight away.
Check it worked
In napari: Plugins → Napari AI Lab lists ND AI Lab, 2D Instance AI Lab and 2D Detect AI Lab.
Learn more: the I2K 2026 tutorial
AI Lab is built on scikit-ops. The I2K 2026 tutorial teaches both through notebooks, and installs AI Lab along the way.