File size: 2,045 Bytes
c6c828c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
---
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
```bash
pip install huggingface_hub
python download_test_data.py
```

### Download via Python
```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
```bash
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:
```bash
# 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](https://github.com/archiesinaga/bacteria-classification)
- **Pre-trained Model**: [bacteria-classification-convnext](https://huggingface.co/archiesinaga/bacteria-classification-convnext)

## Citation
```bibtex
@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