Lpd

Latest version: v0.4.12

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

Scan your dependencies

Page 5 of 8

0.2.8

-----------------
* Added Predictor class !! predicting was never easier, see README for more details
* Added example for train/save/load/predict using the new Predictor
* Added unittests for predictor

0.2.7

-----------------
* Added trainer validation for metric_name_to_func
* ModelCheckpoint args changed to accept CallbackMonitor
* EarlyStopping args changed to accept CallbackMonitor
* Adjusted examples and tests
* Added more unittests

0.2.6

-----------------
* Added test for trainer save and load
* Moved LossOptimizerHandlerBase validation to Trainer.train() instead if Trainer.__init__
* Added name property to CallbackMonitorResult
* StatsPrint now accept list of monitors arguments for metrics
* StatsPrint will make validations on provided monitors
* Removed num_epochs from Trainer arguments, now its in Trainer.train(num_epochs)
* Adjusted all examples

0.2.5

-----------------
* Added predict_sample and predict_data_loader methods to Trainer
* Added LossOptimizerHandler and LossOptimizerHandlerBase to callbacks
* Trainer must have at least one callback of type LossOptimizerHandlerBase
* Removed optimizer_step_and_zero_grad_criteria argument from Trainer, use LossOptimizerHandler callback instead
* CallbackContext now have optimizer, scheduler and train_last_loss properties for easier access
* CollectOutput arguments now must be passed explicitly
* CallbackBase will raise exception if __call__ not implemented
* Trainer have callbacks validation upon initialization, more validations will be added
* SchedulerStep scheduler_parameters_func should accept CallbackContext instead of Trainer
* Added copy_model_weights to torch_utils, (as requested, thank you for using lpd :))
* Adjusted all examples

0.2.4

-----------------
* Added predict_batch
* Adjusted predict example
* Added threshold argument to BinaryAccuracy and BinaryAccuracyWithLogits

0.2.3

-----------------
* Custom metrics are now in a separate module
* Custom metrics now classes instead of functions
* Added unittests for metrics

Page 5 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.