File size: 432 Bytes
64ea7b2 |
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 31 32 33 |
from pathlib import Path
SEED = 42
INIT_WIDTH = 1944
INIT_HEIGHT = 2592
IMG_WIDTH = 192
IMG_HEIGHT = 240
IMG_CHANNELS = 1
VIEW = False
epsilon = .0001
# model parameters
OPTIMIZER = 'adam'
MODEL_LOSS = 'binary_crossentropy'
patience = 500
val_split = 0.1
batch_size = 16
TEST_SIZE = 20
MATURE = "mature"
IMMATURE = "immature"
BASE_DATA_DIR = Path("/data/eurova/cumulus_database/")
BASE_MASKS_DIR = BASE_DATA_DIR/"masks"
|