Skip to content

Commit

Permalink
Update subject_extract.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bojone authored Jul 7, 2019
1 parent fb9c2a1 commit 992ded0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subject_extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def __iter__(self):
from keras.optimizers import Adam


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 992ded0

Please sign in to comment.