-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcyclegan_datasets.py
38 lines (35 loc) · 1.47 KB
/
cyclegan_datasets.py
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
"""Contains the standard train/test splits for the cyclegan data."""
"""The size of each dataset. Usually it is the maximum number of images from
each domain."""
DATASET_TO_SIZES = {
'horse2zebra_train': 1334,
'horse2zebra_test': 140,
'apple2orange_train': 1019,
'apple2orange_test': 266,
'lion2tiger_train': 916,
'lion2tiger_test': 103,
'summer2winter_yosemite_train': 1231,
'summer2winter_yosemite_test': 309,
}
"""The image types of each dataset. Currently only supports .jpg or .png"""
DATASET_TO_IMAGETYPE = {
'horse2zebra_train': '.jpg',
'horse2zebra_test': '.jpg',
'apple2orange_train': '.jpg',
'apple2orange_test': '.jpg',
'lion2tiger_train': '.jpg',
'lion2tiger_test': '.jpg',
'summer2winter_yosemite_train': '.jpg',
'summer2winter_yosemite_test': '.jpg',
}
"""The path to the output csv file."""
PATH_TO_CSV = {
'horse2zebra_train': './input/horse2zebra/horse2zebra_train.csv',
'horse2zebra_test': './input/horse2zebra/horse2zebra_test.csv',
'apple2orange_train': './input/apple2orange/apple2orange_train.csv',
'apple2orange_test': './input/apple2orange/apple2orange_test.csv',
'lion2tiger_train': './input/lion2tiger/lion2tiger_train.csv',
'lion2tiger_test': './input/lion2tiger/lion2tiger_test.csv',
'summer2winter_yosemite_train': './input/summer2winter_yosemite/summer2winter_yosemite_train.csv',
'summer2winter_yosemite_test': './input/summer2winter_yosemite/summer2winter_yosemite_test.csv'
}