def __init__(self, model_type='121', k=32, theta=0.5): ImgClfModel.__init__(self, scale_to_imagenet=True, model_type=model_type) self.k = k self.theta = theta
def __init__(self): ImgClfModel.__init__(self, scale_to_imagenet=False)
def __init__(self, model_type='D'): ImgClfModel.__init__(self, scale_to_imagenet=True, model_type=model_type)