-
Notifications
You must be signed in to change notification settings - Fork 0
/
defaults.py
23 lines (15 loc) · 849 Bytes
/
defaults.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
OBJECT_NAME = "object" # Name of the object to be detected
NOT_OBJECT_NAME = "notObject" # Name of the not object to be detected
DATA_PATH = "data/" # Path to the data folder
OBJECT_IMAGES_PATH = (
DATA_PATH + OBJECT_NAME + "/"
) # Path to the folder containing images of the object to be detected
NOT_OBJECT_IMAGES_PATH = (
DATA_PATH + NOT_OBJECT_NAME + "/"
) # Path to the folder containing images of the object not to be detected
TEST_IMAGES_PATH = DATA_PATH + "test/" # Path to the folder containing test images
MODEL_NAME = "resnet" # Name of the model to be used for detection (resnet, efficientnet, vgg, densenet, mobilenet)
PKL_FILE_PATH = "pkl/" # Path to the folder where the pkl file will be saved
PKL_FILE_NAME = (
PKL_FILE_PATH + OBJECT_NAME + "_" + MODEL_NAME + ".pkl"
) # Name of the pkl file to be saved