摘要: with tf.gfile.GFile(os.path.join(self.model_dir, 'ner_model.pb'), 'rb') as f: graph_def = self.tf.GraphDef() graph_def.ParseFromString(f.read()) input_map = {"input_ids:0": self.inp... 阅读全文
posted @ 2019-03-04 17:05 下路派出所 阅读(1618) 评论(0) 推荐(0) 编辑