Skip to content

Commit

Permalink
Update relation_extract.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bojone authored Jul 7, 2019
1 parent 8e1da6b commit ee21deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relation_extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def seq_gather(x):
return K.tf.gather_nd(seq, idxs)


bert_model = load_trained_model_from_checkpoint(config_path, checkpoint_path)
bert_model = load_trained_model_from_checkpoint(config_path, checkpoint_path, seq_len=None)

for l in bert_model.layers:
l.trainable = True
Expand Down

0 comments on commit ee21deb

Please sign in to comment.