File size: 880 Bytes
9f2b3ad
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# Data

Data goes here. However, I don't own the data, so I am not going to stick it on github.

Instead, let's go get the data!

Download it from [kaggle](https://www.kaggle.com/datasets/aditya276/face-mask-dataset-yolo-format)

Then, in terminal:

```bash
unzip archive.zip 
```

Next, we will need to make sure the files are ordered in the way that YOLO likes.

```bash
mkdir images/test/labels
mkdir images/train/labels
mkdir images/valid/labels
mkdir images/test/images
mkdir images/train/images
mkdir images/valid/images

mv images/test/*.txt images/test/labels
mv images/train/*.txt images/train/labels
mv images/valid/*.txt images/valid/labels

mv images/test/* images/test/images
mv images/train/* images/train/images
mv images/valid/* images/validimages
```

## Another face mask dataset

[This one looks better than kaggle](https://mvrigkas.github.io/FaceMaskDataset/)