(com, refineNet)
return cfg
Get string for detection method
        :param com: center of mass
        :param refineNet: CoM refinement
        :return: string
Get string for detection method
        :param com: center of mass
        :param refineNet: CoM refinement
        :return: string
Get string for detection method : param com : center of mass : param refineNet : CoM refinement : return : string
def detectionModeToString(com, refineNet):
        """
        Get string for detection method
        :param com: center of mass
        :param refineNet: CoM refinement
        :return: string
        """

        if com is False and refineNet is False:
            cfg = 'gt'
        elif com is True and refineNet is False:
            cfg = 'com'
        elif com is True and refineNet is True:
            cfg = 'comref'
        else:
            raise NotImplementedError("com {}, refineNet {}".format(com, refineNet))

        return cfg
def detectionModeToString ( com , refineNet ) : if com is False and refineNet is False : cfg = 'gt' elif com is True and refineNet is False : cfg = 'com' elif com is True and refineNet is True : cfg = 'comref' else : raise NotImplementedError ( "com {}, refineNet {}" . format ( com , refineNet ) ) return cfg