Catalyst 21.11
[21.11] - 2021-11-30
Tl;dr
Framework architecture simplification and speedup + SSL & RecSys extensions.
Added
- MultiVAE RecSys example (#1340)`
- Returned
resume
support - resolved #1193 (#1349) - Smoothing dice loss to contrib (#1344)
profile
flag forrunner.train
(#1348)- MultiDAE RecSys example (#1356)
SETTINGS.log_batch_metrics
,SETTINGS.log_epoch_metrics
,SETTINGS.compute_per_class_metrics
for framework-wise Metric & Logger APIs specification (#1357)log_batch_metrics
andlog_epoch_metrics
options for all available Loggers (#1357)compute_per_class_metrics
option for all available multiclass/label metrics (#1357)- pytorch benchmark script and simplified MNIST (#1360)
Changed
- A few framework simplifications were made (#1346):
catalyst-contrib
scripts reduced tocollect-env
andproject-embeddings
onlycatalyst-dl
scripts recuded torun
andtune
onlytransforms.
prefix deprecated for Catalyst-based transformscatalyst.tools
moved tocatalyst.extras
- task-dependent extensions from
catalyst.data
moved tocatalyst.contrib.data
catalyst.data.transforms
moved tocatalyst.contrib.data.transforms
Normalize
,ToTensor
transforms renamed toNormalizeImage
,ImageToTensor
- metric learning extensions moved to
catalyst.contrib.data
catalyst.contrib
moved to code-as-a-documentation developmentcatalyst[cv]
andcatalyst[ml]
extensions moved to flatten architecture design; examples:catalyst.contrib.data.dataset_cv
,catalyst.contrib.data.dataset_ml
catalyst.contrib
moved to flatten architecture design; exampels:catalyst.contrib.data
,catalyst.contrib.datasets
,catalyst.contrib.layers
,catalyst.contrib.models
,catalyst.contrib.optimizers
,catalyst.contrib.schedulers
- internal functionality moved to
***._misc
modules catalyst.utils.mixup
moved tocatalyst.utils.torch
catalyst.utils.numpy
moved tocatalyst.contrib.utils.numpy
- default logging logic moved from "batch & epoch" to "epoch"-only to save computation time during logging; to respecify, please use:
SETTINGS.log_batch_metrics=True/False
oros.environ["CATALYST_LOG_BATCH_METRICS"]
SETTINGS.log_epoch_metrics=True/False
oros.environ["CATALYST_LOG_EPOCH_METRICS"]
- default metrics computation moved from "per-class & aggregations" to "aggregations"-only to save computation time during logging; to respecify, please use:
SETTINGS.compute_per_class_metrics=True/False
oros.environ["CATALYST_COMPUTE_PER_CLASS_METRICS"]
- no transformations required for MNIST contrib dataset (#1360
Removed
- A few framework simplifications were made (#1346):
catalyst.contrib.pandas
catalyst.contrib.parallel
catalyst.contrib.models.cv
- a few
catalyst.utils.misc
functions catalyst.extras
removed from the public documentation
Fixed
- documentation search error (21.10 only) (#1346)
- docs examples (#1362)
- Self-Supervised benchmark: (#1365), (#1361)