-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.py
More file actions
26 lines (23 loc) · 839 Bytes
/
config.py
File metadata and controls
26 lines (23 loc) · 839 Bytes
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
# -----------------
# DATASET ROOTS
# -----------------
cub_root = '{DATA_PATH}/cub'
car_root = '{DATA_PATH}/cars'
aircraft_root = '{DATA_PATH}/fgvc-aircraft-2013b'
cifar_10_root = '{DATA_PATH}/cifar10'
cifar_100_root = '{DATA_PATH}/cifar100'
imagenet_root = '{DATA_PATH}/imagenet'
herbarium_dataroot = '{DATA_PATH}/herbarium_19'
pets_root = '{DATA_PATH}/oxford_pets'
# OSR Split dir
osr_split_dir = 'data/ssb_splits'
# -----------------
# OTHER PATHS
# -----------------
dino_pretrain_path = '{PRETRAINED_PATH}/dino_vitb16_pretrain.pth'
dinov2_pretrain_path = '{PRETRAINED_PATH}/dinov2_vitb14_reg4_pretrain.pth'
feature_extract_dir = 'osr_novel_categories/extracted_features_public_impl'
# -----------------
# OTHER PATHS
# -----------------
exp_root = '{PROJECT_PATH}/HypCD/dev_outputs' # All logs and checkpoints will be saved here