def __init__(self, USE_AUDIO, USE_BN, USE_LIP, USE_DECODER, USE_FACEFC, USE_AUDIOFC, USE_FACE, USE_XAVIER, AVOID_LAYERS_LIST, IDNUM): self.USE_XAVIER = USE_XAVIER self.config_dict = speech2vid_utils.create_config_dict() self.v201_param_dict, self.v201_param_list = self.read_v201_param( USE_AUDIO, USE_BN, USE_LIP, USE_DECODER, USE_FACEFC, USE_AUDIOFC, USE_FACE, AVOID_LAYERS_LIST, IDNUM)
def __init__(self, checkpoint_dir=None): self.config_dict = speech2vid_utils.create_config_dict() print 'config loaded' if checkpoint_dir is None: checkpoint_dir = './'
def __init__(self, checkpoint_dir=None): self.config_dict = speech2vid_utils.create_config_dict() self.v201_param_dict, self.v201_param_list = self.read_v201_param() print 'config loaded' if checkpoint_dir is None: checkpoint_dir = './'