mrtroydev's picture
Add files using upload-large-folder tool
d491e63 verified
|
Raw History Blame Contribute Delete
4.07 kB
metadata
license: cc-by-nc-sa-4.0
task_categories:
  - image-classification
pretty_name: Seven herbs for incremental machine learning
tags:
  - biology
  - plants
  - agriculture
  - computer vision
  - image classification

Seven herbs for incremental machine learning

Seven herbs for incremental machine learning - images taken using a mobile phone

About Dataset

Seven Herbs for Incremental Machine Learning is a fine-grained image dataset of Vietnamese medicinal and herbal plants, purpose-built to evaluate class-incremental (continual) learning — the ability of a model to learn new plant species over time without forgetting the ones it already knows.

Background

Traditional classifiers are trained once on a fixed set of classes and struggle when new species need to be added later without retraining from scratch. This dataset was designed to simulate that real-world scenario: a base model is trained on an initial set of species, then updated in a second stage as new species (and new images of some existing species) become available — mirroring how a field/agricultural identification tool would realistically grow.

This dataset underpins the paper "Incremental and Zero-Shot Machine Learning for Vietnamese Medicinal Plant Image Classification" (Tran et al., KES 2024, Procedia Computer Science 246: 606–615, DOI: 10.1016/j.procs.2024.09.469).

Structure

The dataset is split into two stages, each with its own train/test folders:

initial_data/
├── train/
└── test/
incremental_data/
├── train/
└── test/
  • init1 — the initial training stage, covering 5 of the 7 species.
  • new1 — the incremental stage, introducing the 2 remaining/unseen species plus additional new images of 2 of the initial species, used to continue training the model without retraining from scratch.

Each split follows an ImageFolder-style layout (one subfolder per class) compatible with torchvision.datasets.ImageFolder.

Classes

Seven medicinal/herbal plant species native to or commonly used in Vietnam, each with roughly 100 images (≈707 images total):

Species Description
Averrhoa carambola Medium-sized tree with distinctive five-angled, yellow-to-green star-shaped fruit
Piper sarmentosum Low-growing plant with heart-shaped, glossy leaves, used as a wrap in Southeast Asian cuisine
Piper betle Vine with glossy, heart-shaped leaves, traditionally chewed with areca nut
Stachytarpheta jamaicensis Shrub with elongated spikes of small deep blue-to-purple flowers (blue porterweed)
Polyscias fruticosa Shrub with dense, finely divided leaves, often grown as an ornamental
Paederia tomentosa Vine with foul-smelling leaves when crushed, used in traditional Asian herbal medicine
Cordyline fruticosa Evergreen plant with striking red or purple leaves, used ornamentally

Collection method

Images were captured manually in the field in Vietnam using a mobile phone camera (Samsung), under natural, uncontrolled lighting and background conditions — reflecting realistic conditions for a mobile plant-identification app rather than studio photography.

Intended use

Designed for benchmarking class-incremental learning methods (e.g. fine-tuning a pretrained CNN such as ResNet-18 on init1, then continuing training on new1 to add new classes) and for zero-shot classification experiments (e.g. with CLIP), particularly on resource-constrained/edge devices. It's a small, fine-grained, imbalanced-friendly dataset well suited to studying catastrophic forgetting.

Citation

If you use this dataset, please cite:

Tran, T. P., Ud Din, F., Brankovic, L., Sanin, C., Hester, S. M., & Le, M. D. H. (2024). Incremental and Zero-Shot Machine Learning for Vietnamese Medicinal Plant Image Classification. Procedia Computer Science, 246, 606–615.


Mirrored from Kaggle: https://www.kaggle.com/datasets/trientran/seven-herbs-for-incremental-machine-learning