Lpd

Latest version: v0.4.12

Safety actively analyzes 625891 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 8

0.1.6

-----------------
* Trainer - added save_trainer and load_trainer methods
* ModelCheckPoint - added the option to save the full trainer as checkpoint
* Minor bug fix in callback_monitor
* StatsPrint changing dict.keys() to set() to enable saving trainer
* Binary accuracy removed restrictions of ndim==1
* Added more seeds to seed_all and to seed_torch

0.1.5

-----------------
* Added verbosity to SchedulerStep
* StatsPrint callback will now print learning rates for all param groups
* Added get_lrs_from_optimizer to torch_utils
* Project PyPI setup fixes

0.1.4

-----------------
This release contains breaking changes:
* Renamed cb_phase to apply_on_phase
* Renamed CallbackPhase to Phase, TrainerState to State
* Renamed Trainer.stop_training() to Trainer.stop(), so it also apply to testing
* Trainer now keeps track of iteration count and iteration_in_epoch count
* CallbackContext was expanded with iteration count and iteration_in_epoch count
* Calling Trainer.stop() from a callback will now stop even on a batch level (and not only epoch level)

0.1.3

-----------------
* Bug fix in apply_on_states invocation of callbacks

0.1.2

-----------------
* Readme fix

0.1.1

-----------------
* Added TEST_BEGIN and TEST_END callbacks phases
* Added CallbackMonitor
* Added enums (lpd.enums) State, MonitorType, MonitorMode, StatsType

Page 7 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.