WARNING:tensorflow:From f:\代码\spo_extract_platform\spo_extract_platform-master\sequence_labeling\albert_zh\tokenization.py:125: The name tf.gfile.GFile is deprecated. Please use tf.io.gfile.GFile instead.
WARNING:tensorflow:From f:/代码/spo_extract_platform/spo_extract_platform-master/sequence_labeling/runServer.py:34: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead.
WARNING:tensorflow:From f:/代码/spo_extract_platform/spo_extract_platform-master/sequence_labeling/runServer.py:39: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.
2020-09-15 14:49:14.849269: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
WARNING:tensorflow:From f:\代码\spo_extract_platform\spo_extract_platform-master\sequence_labeling\model.py:28: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.
WARNING:tensorflow:From f:\代码\spo_extract_platform\spo_extract_platform-master\sequence_labeling\albert_zh\modeling.py:171: The name tf.variable_scope is deprecated. Please use tf.compat.v1.variable_scope instead.
embedding_lookup_factorized. factorized embedding parameterization is used.
WARNING:tensorflow:From f:\代码\spo_extract_platform\spo_extract_platform-master\sequence_labeling\albert_zh\modeling.py:482: The name tf.get_variable is deprecated. Please use tf.compat.v1.get_variable instead.
ln_type: postln
old structure of transformer.use: transformer_model,which use post-LN
WARNING:tensorflow:From f:\代码\spo_extract_platform\spo_extract_platform-master\sequence_labeling\albert_zh\modeling.py:750: dense (from tensorflow.python.layers.core) is deprecated and will be removed in a future version.
Instructions for updating:
Use keras.layers.dense instead.
WARNING:tensorflow:From f:\代码\spo_extract_platform\spo_extract_platform-master\sequence_labeling\model.py:45: calling dropout (from tensorflow.python.ops.nn_ops) with keep_prob is deprecated and will be removed in
a future version.
Instructions for updating:
Please use `rate` instead of `keep_prob`. Rate should be set to `rate = 1 - keep_prob`.
WARNING:tensorflow:From f:\代码\spo_extract_platform\spo_extract_platform-master\sequence_labeling\model.py:136: bidirectional_dynamic_rnn (from tensorflow.python.ops.rnn) is deprecated and will be removed in a future version.
Instructions for updating:
Please use `keras.layers.Bidirectional(keras.layers.RNN(cell))`, which is equivalent to this API
WARNING:tensorflow:From E:\anaconda\anaconda\envs\spo_extract\lib\site-packages\tensorflow\python\ops\rnn.py:464: dynamic_rnn (from tensorflow.python.ops.rnn) is deprecated and will be removed in a future version.
Instructions for updating:
Please use `keras.layers.RNN(cell)`, which is equivalent to this API
WARNING:tensorflow:From E:\anaconda\anaconda\envs\spo_extract\lib\site-packages\tensorflow\python\ops\init_ops.py:1251: calling VarianceScaling.__init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will
be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
WARNING:tensorflow:From E:\anaconda\anaconda\envs\spo_extract\lib\site-packages\tensorflow\python\ops\rnn.py:244: add_dispatch_support.<locals>.wrapper (from tensorflow.python.ops.array_ops) is deprecated and will be removed
in a future version.
Instructions for updating:
Use tf.where in 2.0, which has the same broadcast rule as np.where
WARNING:tensorflow:From f:\代码\spo_extract_platform\spo_extract_platform-master\sequence_labeling\model.py:153: The name tf.nn.xw_plus_b is deprecated. Please use tf.compat.v1.nn.xw_plus_b instead.
WARNING:tensorflow:From f:\代码\spo_extract_platform\spo_extract_platform-master\sequence_labeling\model.py:66: The name tf.train.init_from_checkpoint is deprecated. Please use tf.compat.v1.train.init_from_checkpoint instead.
**** Trainable Variables ****
name = %s, shape = %s%s bert/embeddings/word_embeddings:0 (21128, 128) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/embeddings/word_embeddings_2:0 (128, 312) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/embeddings/token_type_embeddings:0 (2, 312) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/embeddings/position_embeddings:0 (512, 312) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/embeddings/LayerNorm/beta:0 (312,) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/embeddings/LayerNorm/gamma:0 (312,) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/encoder/layer_shared/attention/self/query/kernel:0 (312, 312) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/encoder/layer_shared/attention/self/query/bias:0 (312,) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/encoder/layer_shared/attention/self/key/kernel:0 (312, 312) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/encoder/layer_shared/attention/self/key/bias:0 (312,) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/encoder/layer_shared/attention/self/value/kernel:0 (312, 312) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/encoder/layer_shared/attention/self/value/bias:0 (312,) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/encoder/layer_shared/attention/output/dense/kernel:0 (312, 312) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/encoder/layer_shared/attention/output/dense/bias:0 (312,) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/encoder/layer_shared/attention/output/LayerNorm/beta:0 (312,) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/encoder/layer_shared/attention/output/LayerNorm/gamma:0 (312,) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/encoder/layer_shared/intermediate/dense/kernel:0 (312, 1248) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/encoder/layer_shared/intermediate/dense/bias:0 (1248,) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/encoder/layer_shared/output/dense/kernel:0 (1248, 312) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/encoder/layer_shared/output/dense/bias:0 (312,) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/encoder/layer_shared/output/LayerNorm/beta:0 (312,) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/encoder/layer_shared/output/LayerNorm/gamma:0 (312,) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/pooler/dense/kernel:0 (312, 312) , *INIT_FROM_CKPT*
name = %s, shape = %s%s bert/pooler/dense/bias:0 (312,) , *INIT_FROM_CKPT*
name = %s, shape = %s%s char_BiLSTM/bidirectional_rnn/fw/coupled_input_forget_gate_lstm_cell/_w_xi:0 (312, 100)
name = %s, shape = %s%s char_BiLSTM/bidirectional_rnn/fw/coupled_input_forget_gate_lstm_cell/_w_hi:0 (100, 100)
name = %s, shape = %s%s char_BiLSTM/bidirectional_rnn/fw/coupled_input_forget_gate_lstm_cell/_w_ci:0 (100, 100)
name = %s, shape = %s%s char_BiLSTM/bidirectional_rnn/fw/coupled_input_forget_gate_lstm_cell/_w_xo:0 (312, 100)
name = %s, shape = %s%s char_BiLSTM/bidirectional_rnn/fw/coupled_input_forget_gate_lstm_cell/_w_ho:0 (100, 100)
name = %s, shape = %s%s char_BiLSTM/bidirectional_rnn/fw/coupled_input_forget_gate_lstm_cell/_w_co:0 (100, 100)
name = %s, shape = %s%s char_BiLSTM/bidirectional_rnn/fw/coupled_input_forget_gate_lstm_cell/_w_xc:0 (312, 100)
name = %s, shape = %s%s char_BiLSTM/bidirectional_rnn/fw/coupled_input_forget_gate_lstm_cell/_w_hc:0 (100, 100)
name = %s, shape = %s%s char_BiLSTM/bidirectional_rnn/fw/coupled_input_forget_gate_lstm_cell/_b_i:0 (100,)
name = %s, shape = %s%s char_BiLSTM/bidirectional_rnn/fw/coupled_input_forget_gate_lstm_cell/_b_c:0 (100,)
name = %s, shape = %s%s char_BiLSTM/bidirectional_rnn/fw/coupled_input_forget_gate_lstm_cell/_b_o:0 (100,)
name = %s, shape = %s%s char_BiLSTM/bidirectional_rnn/bw/coupled_input_forget_gate_lstm_cell/_w_xi:0 (312, 100)
name = %s, shape = %s%s char_BiLSTM/bidirectional_rnn/bw/coupled_input_forget_gate_lstm_cell/_w_hi:0 (100, 100)
name = %s, shape = %s%s char_BiLSTM/bidirectional_rnn/bw/coupled_input_forget_gate_lstm_cell/_w_ci:0 (100, 100)
name = %s, shape = %s%s char_BiLSTM/bidirectional_rnn/bw/coupled_input_forget_gate_lstm_cell/_w_xo:0 (312, 100)
name = %s, shape = %s%s char_BiLSTM/bidirectional_rnn/bw/coupled_input_forget_gate_lstm_cell/_w_ho:0 (100, 100)
name = %s, shape = %s%s char_BiLSTM/bidirectional_rnn/bw/coupled_input_forget_gate_lstm_cell/_w_co:0 (100, 100)
name = %s, shape = %s%s char_BiLSTM/bidirectional_rnn/bw/coupled_input_forget_gate_lstm_cell/_w_xc:0 (312, 100)
name = %s, shape = %s%s char_BiLSTM/bidirectional_rnn/bw/coupled_input_forget_gate_lstm_cell/_w_hc:0 (100, 100)
name = %s, shape = %s%s char_BiLSTM/bidirectional_rnn/bw/coupled_input_forget_gate_lstm_cell/_b_i:0 (100,)
name = %s, shape = %s%s char_BiLSTM/bidirectional_rnn/bw/coupled_input_forget_gate_lstm_cell/_b_c:0 (100,)
name = %s, shape = %s%s char_BiLSTM/bidirectional_rnn/bw/coupled_input_forget_gate_lstm_cell/_b_o:0 (100,)
name = %s, shape = %s%s project/hidden/W:0 (200, 100)
name = %s, shape = %s%s project/hidden/b:0 (100,)
name = %s, shape = %s%s project/logits/W:0 (100, 9)
name = %s, shape = %s%s project/logits/b:0 (9,)
name = %s, shape = %s%s crf_loss/transitions:0 (10, 10)
WARNING:tensorflow:From f:\代码\spo_extract_platform\spo_extract_platform-master\sequence_labeling\model.py:81: The name tf.train.AdamOptimizer is deprecated. Please use tf.compat.v1.train.AdamOptimizer instead.
WARNING:tensorflow:From f:\代码\spo_extract_platform\spo_extract_platform-master\sequence_labeling\model.py:95: The name tf.train.Saver is deprecated. Please use tf.compat.v1.train.Saver instead.
WARNING:tensorflow:From f:\代码\spo_extract_platform\spo_extract_platform-master\sequence_labeling\utils.py:177: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to check for files with this prefix.