File size: 2,470 Bytes
7afab9a
 
 
 
 
 
 
 
 
 
 
f3eef70
 
2dfc2cc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---  
dataset_info:  
  features:  
    - name: image  
      dtype: string  
    - name: image_id  
      dtype: string  
    - name: caption  
      dtype: string  
    - name: label  
      dtype: string  
  license: "VIT"  
---    
# Bird Detection Dataset  

This dataset contains images and corresponding labels for a binary classification task: identifying whether a given image contains a bird or not. It is designed for use in computer vision tasks such as image classification, detection, or transfer learning.  

## Dataset Structure  

- **Total Images:** 4,410  
  - 2,973 images containing birds (`bird`)  
  - 1,437 images not containing birds (`no_bird`)  
- **Split:** 80% training (`train.csv`), 20% testing (`test.csv`)  

### Folder Layout  

my-bird-dataset/
├── train.csv
├── test.csv
├── bird/ # Contains images named bird-0001.jpg, ..., bird-2973.jpg
├── no_bird/ # Contains images named no_bird-0001.jpg, ..., no_bird-1437.jpg

less

## CSV Format  

Each CSV (`train.csv` or `test.csv`) has the following columns:  

| image                 | image_id      | caption                               | label    |  
|-----------------------|--------------|---------------------------------------|----------|  
| path/to/image.jpg     | bird-0001    | This image contains a bird.           | bird     |  
| path/to/image.jpg     | no_bird-0001 | This image does not contain a bird.   | no_bird  |  

- `image`: Relative path to the image file  
- `image_id`: Unique image identifier  
- `caption`: Description of the image contents  
- `label`: Class label (`bird` or `no_bird`)  

## How to Use  

You can load this dataset using the [datasets](https://huggingface.co/docs/datasets) library:  

```python  
from datasets import load_dataset  

dataset = load_dataset("ravisri/BirdBinaryClassification")  
train = dataset['train']  
test = dataset['test']  
Or, load the CSV directly:

python
train = load_dataset("ravisri/BirdBinaryClassification", data_files="train.csv")['train']  
License
Include your license here (e.g., MIT, CC BY 4.0). If unknown, please specify.

Citation
If you use this dataset in your work, please cite:

ini
@dataset{your_name_2024_bird_detection,  
  title = {BirdBinaryClassification},  
  author = {ravisri},  
  year = {2024},  
  url = {https://huggingface.co/datasets/ravisri/BirdBinaryClassification},  
}  
Contact
For questions, please open an issue or contact [ravisripallam@gmail.com].