From 172ac8af7abb0b54f47abb7eb067fbd538ab5b57 Mon Sep 17 00:00:00 2001 From: dangqingqing Date: Thu, 2 Mar 2017 20:58:05 +0800 Subject: [PATCH] update --- demo/semantic_role_labeling/api_train_v2.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/demo/semantic_role_labeling/api_train_v2.py b/demo/semantic_role_labeling/api_train_v2.py index 8ce6faaa1b7..c5827241859 100644 --- a/demo/semantic_role_labeling/api_train_v2.py +++ b/demo/semantic_role_labeling/api_train_v2.py @@ -4,17 +4,12 @@ import numpy as np import paddle.v2 as paddle import paddle.v2.dataset.conll05 as conll05 -UNK_IDX = 0 - def db_lstm(): word_dict, verb_dict, label_dict = conll05.get_dict() word_dict_len = len(word_dict) label_dict_len = len(label_dict) pred_len = len(verb_dict) - print 'word_dict_len,', word_dict_len - print 'label_dict_len,', label_dict_len - print 'pred_len,', pred_len mark_dict_len = 2 word_dim = 32 -- GitLab