mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-14 03:26:24 +03:00
Pass step=0
to Schedule
class to yield initial learning rate (#12078)
This commit is contained in:
parent
b510fbd0aa
commit
a231bf65af
|
@ -100,7 +100,7 @@ def train(
|
|||
stdout.write(
|
||||
msg.info(f"Set annotations on update for: {annotating_components}") + "\n"
|
||||
)
|
||||
stdout.write(msg.info(f"Initial learn rate: {optimizer.learn_rate}") + "\n")
|
||||
stdout.write(msg.info(f"Initial learn rate: {optimizer.learn_rate(step=0)}") + "\n")
|
||||
with nlp.select_pipes(disable=frozen_components):
|
||||
log_step, finalize_logger = train_logger(nlp, stdout, stderr)
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user