示例#1
0
文件: train_ex.py 项目: clover3/Chair
 def init_fn(sess):
     start_type_generic = {
         'nli': 'cls',
         'nli_ex': 'cls_ex',
         'bert': 'bert',
         'cold': 'cold'
     }[start_type]
     return init_fn_generic(sess, start_type_generic, start_model_path)
示例#2
0
 def init_fn(sess):
     return init_fn_generic(sess, "as_is", start_model_path)
示例#3
0
文件: run_ex.py 项目: clover3/Chair
 def init_fn(sess):
     return init_fn_generic(sess, start_type, start_model_path)