# file: $(NEDC_NFC)/util/python/nedc_dpath_tools/nedc_dpath_decode_slide_param.py
#
# A parameter file for decoding in DPATH systems, especially desigened for
# training the ResNet18.
#
# revision history:
#
# 20230801 (SM): prep for release
# 20210416 (VK): modify it for single svs file decode
# 20210325 (VK): make it campatible to NEDC parameter files format
# 20210128 (VK): second version
# 20200904 (VK): initial version
#
# set version information
#
version = param_v1.0.0

#------------------------------------------------------------------------------

DECODE_SLIDE {

    # acceptable labels
    #
    acc_lbls = artf, bckg, dcis, indc, infl, nneo, norm, null, susp

    # corresponding colors for every label
    #
    colors = "[(192, 192, 192),  (255, 255, 255),  (255, 0, 255),  (255, 0, 0),  (255, 153, 255),  (153, 51, 255),  (0, 255, 128),  (32, 32, 32),  (255, 178, 102) ]"

    # pixel size to make the mask
    #
    pixel_size = 10, 10

    # window length
    #
    win_len = 1024

    # frame length
    #
    frm_len = 1024

    # the level of slides which patches will be extracted
    #
    level = 0

    # batch size
    #
    # bat_size = 8
    bat_size = 2

    # number of workers to load data into memory
    #
    num_workers = 8

    # GPU or CPU device
    #
    device = 'cuda:0'
    # device = 'cuda:2'
    # device = 'cpu'
}

#------------------------------------------------------------------------------
#
# end of file
#
#------------------------------------------------------------------------------
