SeoSangwoo / Attention-Based-BiLSTM-relation-extraction

Tensorflow Implementation of "Attention-Based Bidirectional Long Short-Term Memory Networks for Relation Classification" (ACL 2016)
http://www.aclweb.org/anthology/P16-2034
Apache License 2.0
430 stars 139 forks source link

tf.keras.initializers.glorot_normal() #11

Open TianlinZhang668 opened 5 years ago

TianlinZhang668 commented 5 years ago

in train.py and attention.py have function:tf.keras.initializers.glorot_normal() but my tensorflow do not have attribute keras could i do some to replace this function? thanks a lot

TianlinZhang668 commented 5 years ago

is not train.py , is att_lstm.py