← Back to catalog

SERVICE DETAILS

Phytoplankton Classifier

SynchronousAsynchronous

Overview

OSCAR service wrapping the AI4OS phytoplankton classifier for synchronous and MinIO-triggered image classification. Its script calls predict_data with an UploadedFile to work around upstream CLI file-argument incompatibility.

Deployment requirements

Memory
4 GiB
Processors
1 vCPU0 GPU

Files & artifacts

Usage & acceptance tests

Synchronous classification

Invoke the model with the sample image and verify the synchronous response; a separate decoded JSON check verifies its content.

  1. Call the service synchronously.

    oscar-cli service run phyto-plankton-classifier --file-input {input} --output {destination}
Asynchronous classification

Upload the sample image; wait for the bucket-triggered job and retrieve its output.

  1. Upload to the service input prefix.

    oscar-cli service put-file phyto-plankton-classifier {source}
  2. Wait for Kueue admission, model initialization, and classification.

    Time required: PT150S
  3. Retrieve the newest prediction output.

    oscar-cli service get-file phyto-plankton-classifier --download-latest-into {destination}

RO-Crate metadata