spaCy/spacy/training
Paul O'Leary McCann f803a84571
Fix inference of epoch_resume (#9084)
* Fix inference of epoch_resume

When an epoch_resume value is not specified individually, it can often
be inferred from the filename. The value inference code was there but
the value wasn't passed back to the training loop.

This also adds a specific error in the case where no epoch_resume value
is provided and it can't be inferred from the filename.

* Add new error

* Always use the epoch resume value if specified

Before this the value in the filename was used if found
2021-09-01 14:17:42 +09:00
..
converters Auto-format code with black 2021-07-02 07:48:26 +00:00
__init__.pxd Renaming gold & annotation_setter (#6042) 2020-09-09 10:31:03 +02:00
__init__.py Add callback to copy vocab/tokenizer from model (#7750) 2021-04-22 12:36:50 +02:00
align.pyx Fix alignment for 1-to-1 tokens and lowercasing (#6476) 2020-12-08 14:25:16 +08:00
alignment.py Replace pytokenizations with internal alignment (#6293) 2020-11-03 16:24:38 +01:00
augment.py Fix lowercase augmentation (#7336) 2021-03-09 14:02:32 +11:00
batchers.py Tidy up code 2021-06-28 12:08:15 +02:00
callbacks.py Add callback to copy vocab/tokenizer from model (#7750) 2021-04-22 12:36:50 +02:00
corpus.py Auto-format code with black 2021-07-02 07:48:26 +00:00
example.pxd Make a pre-check to speed up alignment cache (#6139) 2020-09-24 18:13:39 +02:00
example.pyx Fix setting empty entities in Example.from_dict (#8426) 2021-06-18 10:41:50 +02:00
gold_io.pyx Fix is_sent_start when converting from JSON (fix #7635) (#7655) 2021-04-08 18:24:52 +10:00
initialize.py Document use-case of freezing tok2vec (#8992) 2021-08-26 09:50:35 +02:00
iob_utils.py fix docs (#8200) 2021-05-27 10:48:59 +02:00
loggers.py Make ConsoleLogger flush after each logging line (#8810) 2021-08-02 14:33:38 +02:00
loop.py Tidy up with flake8: imports, comparisons, etc. 2021-06-28 12:08:15 +02:00
pretrain.py Fix inference of epoch_resume (#9084) 2021-09-01 14:17:42 +09:00