"""Defined Class for Transferring Parameters"""


class KerasParas:
    def __init__(self):
        self.model_path = None
        self.outID = 0                          # indicating which output we need when dealing with multi-output network
        self.thd = 0.5
        self.img_format = 'channels_first'
        self.loss = None


class PreParas:
    def __init__(self):
        self.patch_dims = []
        self.patch_label_dims = []
        self.patch_strides = []
        self.n_class = ''
        self.organname = ''
        self.stage = ''
        self.meanvalue = None
        self.negids = []
        self.sortids = []
        self.saveflag = ''
        self.issubtract = 1


