Ejemplo n.º 1
0
 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)
Ejemplo n.º 2
0
 def __init__(self, checkpoint_dir=None):
     self.config_dict = speech2vid_utils.create_config_dict()
     print 'config loaded'
     if checkpoint_dir is None:
         checkpoint_dir = './'
Ejemplo n.º 3
0
 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 = './'