forked from Yuanyuan-Yuan/NeuraL-Coverage
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.py
More file actions
21 lines (15 loc) · 695 Bytes
/
constants.py
File metadata and controls
21 lines (15 loc) · 695 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
PAD_LENGTH = 32
# for text model to unroll layers
PRETRAINED_MODELS = './pretrained_models'
AE_DIR = './adversarial_examples/'
CIFAR10_JPEG_DIR = './datasets/CIFAR10/'
IMAGENET_JPEG_DIR = '/data/yyuanaq/data/IMAGE-NET/ILSVRC/Data/CLS-LOC/'
IMAGENET_LABEL_TO_INDEX = './datasets/ImageNet/ImageNetLabel2Index.json'
# Since we use the pretrained weights provided by pytorch,
# we should use the same `label_to_index` mapping.
BIGGAN_IMAGENET_PROJECT_DIR = './BigGAN-projects/ImageNet'
BIGGAN_CIFAR10_PROJECT_DIR = './BigGAN-projects/CIFAR10'
BIGGAN_CIFAR10_LATENT_DIM = 128
BIGGAN_IMAGENET_LATENT_DIM = 120
STYLE_IMAGE_DIR = './datasets/painting'
STYLE_MODEL_DIR = './pretrained_models/Style'