-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
30 lines (28 loc) · 1.09 KB
/
Copy pathconfig.py
File metadata and controls
30 lines (28 loc) · 1.09 KB
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
# Paths and folder names
CLASSES = "./class.names"
DATA_DIR = "./data"
F_FULL_START_DATA = "full-data"
F_FULL_WORKDATA = "full-workdata"
F_TRAIN = "train"
F_VAL = "val"
F_IMAGES = "imgs"
F_ANNS = "anns"
OUTPUT_DIR = "./output"
F_ROUND_WORKDATA = "ALround"
# Training params
LEARNING_RATE = 0.0001
BATCH_SIZE = 2
ITERATIONS = 1000
CHECKPOINT_PERIOD = 500
MODEL = "COCO-Detection/faster_rcnn_R_50_C4_3x.yaml"
AL_ROUNDS = 4
DEVICE = "gpu"
AL_OBJ_SCORE_THRESHOLD = 0.3 # Original used 0.05, but we cant afford it
UD_SPLIT = [1, 0.75, 0.5, 0.25] # 1 = full uncertainty, 0 = full diversity
# Program params
DEBUG = 0
DT2_CONFIG_FILENAME = "modelConfig.pkl"
METADATA_FILENAME = "metadata.pkl"
IMG_EXTENSION = ".jpg"
ANN_EXTENSION = ".txt" # I mean we only support .txt with yolo format so dont change that
SEED = 10