Installation
This page explains the setup choices for the full repository.
If you want the package-only installation page, use the companion repository:
planktonclas: https://github.com/woutdecrop/planktonclas
Setup choices
This repository supports four common setup paths:
install
planktonclasas a package for normal local usageuse Docker for a containerized runtime
install the repository locally for development
use AI4OS / OSCAR for hosted deployment
Option A: Package install
pip install planktonclas
For local notebook use:
pip install "planktonclas[notebooks]"
This is the best option if you want the local CLI, API, or notebook workflow without cloning the whole repository.
For the package-focused explanation of this path, use:
Option B: Docker
This is the simplest repository-based workflow if you want the full project files but do not want to install all Python dependencies on your machine.
git clone https://github.com/ai4os-hub/phyto-plankton-classification
cd phyto-plankton-classification
docker run -ti -p 8888:8888 -p 5000:5000 -v "$(pwd):/srv/phyto-plankton-classification" ai4oshub/phyto-plankton-classification:latest /bin/bash
Inside the container, you can use the same planktonclas commands as in the local workflow.
The container image also ships with the published pretrained model under models/.
Option C: Repository install for development
Choose this only if you want to work on the repository itself.
git clone https://github.com/ai4os-hub/phyto-plankton-classification
cd phyto-plankton-classification
python -m venv .venv
.venv\Scripts\activate
pip install -U pip
pip install -e .
After a repository install, you can also start DEEPaaS directly:
$env:PLANKTONCLAS_CONFIG = (Resolve-Path .\my_project\config.yaml)
$env:DEEPAAS_V2_MODEL = "planktonclas"
deepaas-run --listen-ip 0.0.0.0
Option D: AI4OS / OSCAR
Use this path when you want hosted deployment or a managed remote runtime.
Useful links:
Project structure
After planktonclas init, a project looks like this:
my_project/
config.yaml
data/
images/
dataset_files/
models/
notebooks/
Next step
After installation or setup, continue with Quickstart to choose your path.