-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathparameters.py
28 lines (25 loc) · 876 Bytes
/
parameters.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
from collections import namedtuple
Dataset = namedtuple('Dataset',
['num_classes',
'num_channels',
'hw',
'mean',
'std',
'initial_channels_factor',
'is_ImageFolder',
'def_resize'])
datasets = {'CIFAR10':
Dataset(10, 3, [32, 32],
[0.49139968, 0.48215827, 0.44653124],
[0.24703233, 0.24348505, 0.26158768],
1,
False,
None),
'ImageNet':
Dataset(1000, 3, [224, 224],
[0.485, 0.456, 0.406],
[0.229, 0.224, 0.225],
1,
True,
None),
}