Datasets:
metadata
license: apache-2.0
task_categories:
- image-classification
tags:
- bacteria
- microscopy
- biology
- medical
size_categories:
- n<1K
Bacteria Classification Test Dataset
Test dataset for bacteria classification using ConvNext model.
Dataset Description
This dataset contains microscopic images of bacteria for classification tasks.
Dataset Structure
test/
├── class_1/
│ ├── image1.jpg
│ └── ...
├── class_2/
└── ...
Usage
Quick Download
pip install huggingface_hub
python download_test_data.py
Download via Python
from huggingface_hub import snapshot_download
dataset_path = snapshot_download(
repo_id="archiesinaga/bacteria-classification-test-data",
repo_type="dataset",
local_dir="./test"
)
print(f"Dataset downloaded to: {dataset_path}")
Download via CLI
huggingface-cli download \
archiesinaga/bacteria-classification-test-data \
--repo-type dataset \
--local-dir ./test
Use with Project
This dataset is designed to work with the bacteria classification project:
# Clone project
git clone https://github.com/archiesinaga/bacteria-classification.git
cd bacteria-classification
# Setup environment
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# Download model and dataset
python download_model.py
python download_test_data.py
# Run evaluation
python evaluasi.py
Related Resources
- GitHub Repository: bacteria-classification
- Pre-trained Model: bacteria-classification-convnext
Citation
@dataset{bacteria_test_data_2024,
author = {Archie Sinaga},
title = {Bacteria Classification Test Dataset},
year = {2024},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/datasets/archiesinaga/bacteria-classification-test-data}}
}
License
Apache 2.0