Skip to content

Commit

Permalink
Update gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
KhanhTungTran committed Feb 25, 2021
1 parent be0bac2 commit afec257
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ data/*
!data/coco_*.txt
!data/trainvalno5k.shapes
!data/*.sh
!data/watermark.yaml

pycocotools/*
results*.txt
Expand Down
17 changes: 17 additions & 0 deletions data/watermark.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Original watermark dataset

# train and val data as 1) directory: path/images/, 2) file: path/images.txt, or 3) list: [path1/images/, path2/images/]
train: ./data/images/train/ # 3600 images
val: ./data/images/test/ # 900 images

# number of classes
nc: 1

# class names
names: ['watermark']

# Print classes
# with open('data/coco.yaml') as f:
# d = yaml.load(f, Loader=yaml.FullLoader) # dict
# for i, x in enumerate(d['names']):
# print(i, x)

0 comments on commit afec257

Please sign in to comment.