PyTorch framework for Deep Learning research and development.

Overview

Catalyst logo

Accelerated DL & RL

Build Status CodeFactor Pipi version Docs PyPI Status

Twitter Telegram Slack Github contributors

PyTorch framework for Deep Learning research and development. It was developed with a focus on reproducibility, fast experimentation and code/ideas reusing. Being able to research/develop something new, rather than write another regular train loop.
Break the cycle - use the Catalyst!

Project manifest. Part of PyTorch Ecosystem. Part of Catalyst Ecosystem:

  • Alchemy - Experiments logging & visualization
  • Catalyst - Accelerated Deep Learning Research and Development
  • Reaction - Convenient Deep Learning models serving

Catalyst at AI Landscape.


Catalyst.Segmentation Build Status Github contributors

Note: this repo uses advanced Catalyst Config API and could be a bit out-of-day right now. Use Catalyst's minimal examples section for a starting point and up-to-day use cases, please.

You will learn how to build image segmentation pipeline with transfer learning using the Catalyst framework.

Goals

  1. Install requirements
  2. Prepare data
  3. Run: raw data → production-ready model
  4. Get results
  5. Customize own pipeline

1. Install requirements

Using local environment:

pip install -r requirements/requirements.txt

Using docker:

This creates a build catalyst-segmentation with the necessary libraries:

make docker-build

2. Get Dataset

Try on open datasets

You can use one of the open datasets

/dev/null mv isbi_cleared_191107 ./data/origin elif [[ "$DATASET" == "voc2012" ]]; then # semantic segmentation # http://host.robots.ox.ac.uk/pascal/VOC/voc2012/ wget http://host.robots.ox.ac.uk/pascal/VOC/voc2012/VOCtrainval_11-May-2012.tar tar -xf VOCtrainval_11-May-2012.tar &>/dev/null mkdir -p ./data/origin/images/; mv VOCdevkit/VOC2012/JPEGImages/* $_ mkdir -p ./data/origin/raw_masks; mv VOCdevkit/VOC2012/SegmentationClass/* $_ fi ">
export DATASET="isbi"

rm -rf data/
mkdir -p data

if [[ "$DATASET" == "isbi" ]]; then
    # binary segmentation
    # http://brainiac2.mit.edu/isbi_challenge/
    download-gdrive 1uyPb9WI0t2qMKIqOjFKMv1EtfQ5FAVEI isbi_cleared_191107.tar.gz
    tar -xf isbi_cleared_191107.tar.gz &>/dev/null
    mv isbi_cleared_191107 ./data/origin
elif [[ "$DATASET" == "voc2012" ]]; then
    # semantic segmentation
    # http://host.robots.ox.ac.uk/pascal/VOC/voc2012/
    wget http://host.robots.ox.ac.uk/pascal/VOC/voc2012/VOCtrainval_11-May-2012.tar
    tar -xf VOCtrainval_11-May-2012.tar &>/dev/null
    mkdir -p ./data/origin/images/; mv VOCdevkit/VOC2012/JPEGImages/* $_
    mkdir -p ./data/origin/raw_masks; mv VOCdevkit/VOC2012/SegmentationClass/* $_
fi

Use your own dataset

Prepare your dataset

Data structure

Make sure, that final folder with data has the required structure:

/path/to/your_dataset/
        images/
            image_1
            image_2
            ...
            image_N
        raw_masks/
            mask_1
            mask_2
            ...
            mask_N

Data location

  • The easiest way is to move your data:

    mv /path/to/your_dataset/* /catalyst.segmentation/data/origin

    In that way you can run pipeline with default settings.

  • If you prefer leave data in /path/to/your_dataset/

    • In local environment:

      • Link directory
        ln -s /path/to/your_dataset $(pwd)/data/origin
      • Or just set path to your dataset DATADIR=/path/to/your_dataset when you start the pipeline.
    • Using docker

      You need to set:

         -v /path/to/your_dataset:/data \ #instead default  $(pwd)/data/origin:/data

      in the script below to start the pipeline.

3. Segmentation pipeline

Fast&Furious: raw data → production-ready model

The pipeline will automatically guide you from raw data to the production-ready model.

We will initialize Unet model with a pre-trained ResNet-18 encoder. During current pipeline model will be trained sequentially in two stages.

Binary segmentation pipeline

Run in local environment:

CUDA_VISIBLE_DEVICES=0 \
CUDNN_BENCHMARK="True" \
CUDNN_DETERMINISTIC="True" \
WORKDIR=./logs \
DATADIR=./data/origin \
IMAGE_SIZE=256 \
CONFIG_TEMPLATE=./configs/templates/binary.yml \
NUM_WORKERS=4 \
BATCH_SIZE=256 \
bash ./bin/catalyst-binary-segmentation-pipeline.sh

Run in docker:

export LOGDIR=$(pwd)/logs
docker run -it --rm --shm-size 8G --runtime=nvidia \
   -v $(pwd):/workspace/ \
   -v $LOGDIR:/logdir/ \
   -v $(pwd)/data/origin:/data \
   -e "CUDA_VISIBLE_DEVICES=0" \
   -e "USE_WANDB=1" \
   -e "LOGDIR=/logdir" \
   -e "CUDNN_BENCHMARK='True'" \
   -e "CUDNN_DETERMINISTIC='True'" \
   -e "WORKDIR=/logdir" \
   -e "DATADIR=/data" \
   -e "IMAGE_SIZE=256" \
   -e "CONFIG_TEMPLATE=./configs/templates/binary.yml" \
   -e "NUM_WORKERS=4" \
   -e "BATCH_SIZE=256" \
   catalyst-segmentation ./bin/catalyst-binary-segmentation-pipeline.sh

Semantic segmentation pipeline

Run in local environment:

CUDA_VISIBLE_DEVICES=0 \
CUDNN_BENCHMARK="True" \
CUDNN_DETERMINISTIC="True" \
WORKDIR=./logs \
DATADIR=./data/origin \
IMAGE_SIZE=256 \
CONFIG_TEMPLATE=./configs/templates/semantic.yml \
NUM_WORKERS=4 \
BATCH_SIZE=256 \
bash ./bin/catalyst-semantic-segmentation-pipeline.sh

Run in docker:

export LOGDIR=$(pwd)/logs
docker run -it --rm --shm-size 8G --runtime=nvidia \
   -v $(pwd):/workspace/ \
   -v $LOGDIR:/logdir/ \
   -v $(pwd)/data/origin:/data \
   -e "CUDA_VISIBLE_DEVICES=0" \
   -e "USE_WANDB=1" \
   -e "LOGDIR=/logdir" \
   -e "CUDNN_BENCHMARK='True'" \
   -e "CUDNN_DETERMINISTIC='True'" \
   -e "WORKDIR=/logdir" \
   -e "DATADIR=/data" \
   -e "IMAGE_SIZE=256" \
   -e "CONFIG_TEMPLATE=./configs/templates/semantic.yml" \
   -e "NUM_WORKERS=4" \
   -e "BATCH_SIZE=256" \
   catalyst-segmentation ./bin/catalyst-semantic-segmentation-pipeline.sh

The pipeline is running and you don’t have to do anything else, it remains to wait for the best model!

Visualizations

You can use W&B account for visualisation right after pip install wandb:

wandb: (1) Create a W&B account
wandb: (2) Use an existing W&B account
wandb: (3) Don't visualize my results

Tensorboard also can be used for visualisation:

tensorboard --logdir=/catalyst.segmentation/logs

4. Results

All results of all experiments can be found locally in WORKDIR, by default catalyst.segmentation/logs. Results of experiment, for instance catalyst.segmentation/logs/logdir-191107-094627-2f31d790, contain:

checkpoints

  • The directory contains all checkpoints: best, last, also of all stages.
  • best.pth and last.pht can be also found in the corresponding experiment in your W&B account.

configs

  • The directory contains experiment`s configs for reproducibility.

logs

  • The directory contains all logs of experiment.
  • Metrics also logs can be displayed in the corresponding experiment in your W&B account.

code

  • The directory contains code on which calculations were performed. This is necessary for complete reproducibility.

5. Customize own pipeline

For your future experiments framework provides powerful configs allow to optimize configuration of the whole pipeline of segmentation in a controlled and reproducible way.

Configure your experiments

  • Common settings of stages of training and model parameters can be found in catalyst.segmentation/configs/_common.yml.

    • model_params: detailed configuration of models, including:
      • model, for instance ResnetUnet
      • detailed architecture description
      • using pretrained model
    • stages: you can configure training or inference in several stages with different hyperparameters. In our example:
      • optimizer params
      • first learn the head(s), then train the whole network
  • The CONFIG_TEMPLATE with other experiment`s hyperparameters, such as data_params and is here: catalyst.segmentation/configs/templates/binary.yml. The config allows you to define:

    • data_params: path, batch size, num of workers and so on
    • callbacks_params: Callbacks are used to execute code during training, for example, to get metrics or save checkpoints. Catalyst provide wide variety of helpful callbacks also you can use custom.

You can find much more options for configuring experiments in catalyst documentation.

Comments
  • Bump catalyst[cv] from 20.7 to 21.6 in /requirements

    Bump catalyst[cv] from 20.7 to 21.6 in /requirements

    Bumps catalyst[cv] from 20.7 to 21.6.

    Release notes

    Sourced from catalyst[cv]'s releases.

    Catalyst 21.06

    [21.06] - 2021-06-29

    Added

    • (#1230)
      • FairScale support
      • DeepSpeed support
      • utils.ddp_sync_run function for synchronous ddp run
      • CIFAR10 and CIFAR100 datasets from torchvision (no cv-based requirements)
      • Catalyst Engines demo
    • dataset_from_params support in config API (#1231)
    • transform from params support for config API added (#1236)
    • samplers from params support for config API added (#1240)
    • recursive registry.get_from_params added (#1241)
    • albumentations integration (#1238)
    • Profiler callback (#1226)

    Changed

    • (#1230)
      • loaders creation now wrapper with utils.ddp_sync_run for utils.ddp_sync_run data preparation
      • runner support stage cleanup: loaders and callbacks will be deleted on the stage end
      • Apex-based engines now support both APEXEngine and ApexEngine registry names

    Fixed

    • multiprocessing in minimal tests hotfix (#1232)
    • Tracing callback hotfix (#1234)
    • Engine hotfix for predict_loader (#1235)
    • (#1230)
      • Hydra hotfix due to 1.1.0 version changes
    • HuberLoss name conflict for pytorch 1.9 hotfix (#1239)

    Contributors ❤️

    @​bagxi @​y-ksenia @​ditwoo @​BorNick @​Inkln

    Catalyst 21.05

    [21.05] - 2021-05-31

    Added

    • Reinforcement learning tutorials (#1205)
    • customization demo (#1207)
    • FAQ docs: multiple input and output keys, engine tutorial (#1202)
    • minimal Config API example (#1215)
    • Distributed RL example (Catalyst.RL 2.0 concepts) (#1224)
    • SklearnCallback as integration of sklearn metrics (#1198)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in the .dependabot/config.yml file in this repo:

    • Update frequency
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 1
  • Bump catalyst[cv] from 20.7 to 21.5 in /requirements

    Bump catalyst[cv] from 20.7 to 21.5 in /requirements

    Bumps catalyst[cv] from 20.7 to 21.5.

    Release notes

    Sourced from catalyst[cv]'s releases.

    Catalyst 21.05

    [21.05] - 2021-05-31

    Added

    • Reinforcement learning tutorials (#1205)
    • customization demo (#1207)
    • FAQ docs: multiple input and output keys, engine tutorial (#1202)
    • minimal Config API example (#1215)
    • Distributed RL example (Catalyst.RL 2.0 concepts) (#1224)
    • SklearnCallback as integration of sklearn metrics (#1198)

    Changed

    • tests moved to tests folder (#1208)
    • pipeline tests moved to tests/pipelines (#1215)
    • updated NeptuneLogger docstrings (#1223)

    Removed

    Fixed

    • customizing what happens in train() notebook (#1203)
    • transforms imports under catalyst.data (#1211)
    • change layerwise to layerwise_params (#1210)
    • add torch metrics support (#1195)
    • add Config API support for BatchTransformCallback (#1209)

    BONUS: Catalyst workshop videos!

    Catalyst 21.04.2

    [21.04.2] - 2021-04-30

    Added

    • Weights and Biases Logger (WandbLogger) (#1176)
    • Neptune Logger (NeptuneLogger) (#1196)
    • log_artifact method for logging arbitrary files like audio, video, or model weights to ILogger and IRunner (#1196)

    Catalyst 21.04.1

    • a small hotfix for catalyst.contrib module

    Catalyst 21.04

    [21.04] - 2021-04-17

    Added

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in the .dependabot/config.yml file in this repo:

    • Update frequency
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 1
  • Bump catalyst[cv] from 20.7 to 21.4.2 in /requirements

    Bump catalyst[cv] from 20.7 to 21.4.2 in /requirements

    Bumps catalyst[cv] from 20.7 to 21.4.2.

    Release notes

    Sourced from catalyst[cv]'s releases.

    Catalyst 21.04.2

    [21.04.2] - 2021-04-30

    Added

    • Weights and Biases Logger (WandbLogger) (#1176)
    • Neptune Logger (NeptuneLogger) (#1196)
    • log_artifact method for logging arbitrary files like audio, video, or model weights to ILogger and IRunner (#1196)

    Catalyst 21.04.1

    • a small hotfix for catalyst.contrib module

    Catalyst 21.04

    [21.04] - 2021-04-17

    Added

    • Nifti Reader (NiftiReader) (#1151)
    • CMC score and callback for ReID task (ReidCMCMetric and ReidCMCScoreCallback) (#1170)
    • Market1501 metric learning datasets (Market1501MLDataset and Market1501QGDataset) (#1170)
    • extra kwargs support for Engines (#1156)
    • engines exception for unknown model type (#1174)
    • a few docs to the supported loggers (#1174)

    Changed

    • TensorboardLogger switched from global_batch_step counter to global_sample_step one (#1174)
    • TensorboardLogger logs loader metric on_loader_end rather than on_epoch_end (#1174)
    • prefix renamed to metric_key for MetricAggregationCallback (#1174)
    • micro, macro and weighted aggregations renamed to _micro, _macro and _weighted (#1174)
    • BatchTransformCallback updated (#1153)

    Removed

    • auto torch.sigmoid usage for metrics.AUCMetric and metrics.auc (#1174)

    Fixed

    • hitrate calculation issue (#1155)
    • ILoader wrapper usage issue with Runner (#1174)
    • counters for ddp case (#1174)

    v21.03.2

    Fixed

    • minimal requirements issue (#1147)

    v21.03.1

    [21.03.1] - 2021-03-28

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in the .dependabot/config.yml file in this repo:

    • Update frequency
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 1
  • Bump catalyst[cv] from 20.7 to 21.4.1 in /requirements

    Bump catalyst[cv] from 20.7 to 21.4.1 in /requirements

    Bumps catalyst[cv] from 20.7 to 21.4.1.

    Release notes

    Sourced from catalyst[cv]'s releases.

    Catalyst 21.04.1

    • a small hotfix for catalyst.contrib module

    Catalyst 21.04

    [21.04] - 2021-04-17

    Added

    • Nifti Reader (NiftiReader) (#1151)
    • CMC score and callback for ReID task (ReidCMCMetric and ReidCMCScoreCallback) (#1170)
    • Market1501 metric learning datasets (Market1501MLDataset and Market1501QGDataset) (#1170)
    • extra kwargs support for Engines (#1156)
    • engines exception for unknown model type (#1174)
    • a few docs to the supported loggers (#1174)

    Changed

    • TensorboardLogger switched from global_batch_step counter to global_sample_step one (#1174)
    • TensorboardLogger logs loader metric on_loader_end rather than on_epoch_end (#1174)
    • prefix renamed to metric_key for MetricAggregationCallback (#1174)
    • micro, macro and weighted aggregations renamed to _micro, _macro and _weighted (#1174)
    • BatchTransformCallback updated (#1153)

    Removed

    • auto torch.sigmoid usage for metrics.AUCMetric and metrics.auc (#1174)

    Fixed

    • hitrate calculation issue (#1155)
    • ILoader wrapper usage issue with Runner (#1174)
    • counters for ddp case (#1174)

    v21.03.2

    Fixed

    • minimal requirements issue (#1147)

    v21.03.1

    [21.03.1] - 2021-03-28

    Added

    • Additive Margin SoftMax(AMSoftmax)(#1125)
    • Generalized Mean Pooling(GeM)(#1084)
    • Key-value support for CriterionCallback (#1130)
    • Engine configuration through cmd (#1134)
    • Extra utils for thresholds (#1134)
    • Added gradient clipping function to optimizer callback (1124)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in the .dependabot/config.yml file in this repo:

    • Update frequency
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 1
  • Bump catalyst[cv] from 20.7 to 21.4 in /requirements

    Bump catalyst[cv] from 20.7 to 21.4 in /requirements

    Bumps catalyst[cv] from 20.7 to 21.4.

    Release notes

    Sourced from catalyst[cv]'s releases.

    Catalyst 21.04

    [21.04] - 2021-04-17

    Added

    • Nifti Reader (NiftiReader) (#1151)
    • CMC score and callback for ReID task (ReidCMCMetric and ReidCMCScoreCallback) (#1170)
    • Market1501 metric learning datasets (Market1501MLDataset and Market1501QGDataset) (#1170)
    • extra kwargs support for Engines (#1156)
    • engines exception for unknown model type (#1174)
    • a few docs to the supported loggers (#1174)

    Changed

    • TensorboardLogger switched from global_batch_step counter to global_sample_step one (#1174)
    • TensorboardLogger logs loader metric on_loader_end rather than on_epoch_end (#1174)
    • prefix renamed to metric_key for MetricAggregationCallback (#1174)
    • micro, macro and weighted aggregations renamed to _micro, _macro and _weighted (#1174)
    • BatchTransformCallback updated (#1153)

    Removed

    • auto torch.sigmoid usage for metrics.AUCMetric and metrics.auc (#1174)

    Fixed

    • hitrate calculation issue (#1155)
    • ILoader wrapper usage issue with Runner (#1174)
    • counters for ddp case (#1174)

    v21.03.2

    Fixed

    • minimal requirements issue (#1147)

    v21.03.1

    [21.03.1] - 2021-03-28

    Added

    • Additive Margin SoftMax(AMSoftmax)(#1125)
    • Generalized Mean Pooling(GeM)(#1084)
    • Key-value support for CriterionCallback (#1130)
    • Engine configuration through cmd (#1134)
    • Extra utils for thresholds (#1134)
    • Added gradient clipping function to optimizer callback (1124)
    • FactorizedLinear to contrib (1142)
    • Extra init params for ConsoleLogger (1142)
    • Tracing, Quantization, Onnx, Pruninng Callbacks (1127)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in the .dependabot/config.yml file in this repo:

    • Update frequency
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 1
  • Bump catalyst[cv] from 20.7 to 21.3.2 in /requirements

    Bump catalyst[cv] from 20.7 to 21.3.2 in /requirements

    Bumps catalyst[cv] from 20.7 to 21.3.2.

    Release notes

    Sourced from catalyst[cv]'s releases.

    v21.03.2

    Fixed

    • minimal requirements issue (#1147)

    v21.03.1

    [21.03.1] - 2021-03-28

    Added

    • Additive Margin SoftMax(AMSoftmax)(#1125)
    • Generalized Mean Pooling(GeM)(#1084)
    • Key-value support for CriterionCallback (#1130)
    • Engine configuration through cmd (#1134)
    • Extra utils for thresholds (#1134)
    • Added gradient clipping function to optimizer callback (1124)
    • FactorizedLinear to contrib (1142)
    • Extra init params for ConsoleLogger (1142)
    • Tracing, Quantization, Onnx, Pruninng Callbacks (1127)
    • _key_value for schedulers in case of multiple optimizers fixed (#1146)

    Changed

    • CriterionCallback now inherits from BatchMetricCallback #1130)
      • united metrics computation logic

    Removed

    • Config API deprecated parsings logic (1142) (1138)

    Fixed

    • Data-Model device sync and Engine logic during runner.predict_loader (#1134)
    • BatchLimitLoaderWrapper logic for loaders with shuffle flag (#1136)
    • config description in the examples (1142)
    • Config API deprecated parsings logic (1142) (1138)
    • RecSys metrics Top_k calculations (#1140 (catalyst-team/catalyst#1140))

    Catalyst 21.03

    The v20 is dead, long live the v21!

    [21.03] - 2021-03-13 (#1095)

    Added

    • Engine abstraction to support various hardware backends and accelerators: CPU, GPU, multi GPU, distributed GPU, TPU, Apex, and AMP half-precision training.
    • Logger abstraction to support various monitoring tools: console, tensorboard, MLflow, etc.
    • Trial abstraction to support various hyperoptimization tools: Optuna, Ray, etc.
    • Metric abstraction to support various of machine learning metrics: classification, segmentation, RecSys and NLP.
    • Full support for Hydra API.

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in the .dependabot/config.yml file in this repo:

    • Update frequency
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 1
  • Bump catalyst[cv] from 20.7 to 21.3.1 in /requirements

    Bump catalyst[cv] from 20.7 to 21.3.1 in /requirements

    Bumps catalyst[cv] from 20.7 to 21.3.1.

    Release notes

    Sourced from catalyst[cv]'s releases.

    v21.03.1

    [21.03.1] - 2021-03-28

    Added

    • Additive Margin SoftMax(AMSoftmax)(#1125)
    • Generalized Mean Pooling(GeM)(#1084)
    • Key-value support for CriterionCallback (#1130)
    • Engine configuration through cmd (#1134)
    • Extra utils for thresholds (#1134)
    • Added gradient clipping function to optimizer callback (1124)
    • FactorizedLinear to contrib (1142)
    • Extra init params for ConsoleLogger (1142)
    • Tracing, Quantization, Onnx, Pruninng Callbacks (1127)
    • _key_value for schedulers in case of multiple optimizers fixed (#1146)

    Changed

    • CriterionCallback now inherits from BatchMetricCallback #1130)
      • united metrics computation logic

    Removed

    • Config API deprecated parsings logic (1142) (1138)

    Fixed

    • Data-Model device sync and Engine logic during runner.predict_loader (#1134)
    • BatchLimitLoaderWrapper logic for loaders with shuffle flag (#1136)
    • config description in the examples (1142)
    • Config API deprecated parsings logic (1142) (1138)
    • RecSys metrics Top_k calculations (#1140 (catalyst-team/catalyst#1140))

    Catalyst 21.03

    The v20 is dead, long live the v21!

    [21.03] - 2021-03-13 (#1095)

    Added

    • Engine abstraction to support various hardware backends and accelerators: CPU, GPU, multi GPU, distributed GPU, TPU, Apex, and AMP half-precision training.
    • Logger abstraction to support various monitoring tools: console, tensorboard, MLflow, etc.
    • Trial abstraction to support various hyperoptimization tools: Optuna, Ray, etc.
    • Metric abstraction to support various of machine learning metrics: classification, segmentation, RecSys and NLP.
    • Full support for Hydra API.
    • Full DDP support for Python API.
    • MLflow support for metrics logging.
    • United API for model post-processing: tracing, quantization, pruning, onnx-exporting.
    • United API for metrics: classification, segmentation, RecSys, and NLP with full DDP and micro/macro/weighted/etc aggregations support.

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in the .dependabot/config.yml file in this repo:

    • Update frequency
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 1
  • Bump catalyst[cv] from 20.7 to 21.3 in /requirements

    Bump catalyst[cv] from 20.7 to 21.3 in /requirements

    Bumps catalyst[cv] from 20.7 to 21.3.

    Release notes

    Sourced from catalyst[cv]'s releases.

    Catalyst 21.03

    The v20 is dead, long live the v21!

    v21.01rc0

    No release notes provided.

    Catalyst 20.12

    [20.12] - 2020-12-20

    Added

    • CVS Logger (#1005)
    • DrawMasksCallback (#999)
    • (#1002)
      • a few docs
    • (#998)
      • reciprocal_rank metric
      • unified recsys metrics preprocessing
    • (#1018)
      • readme examples for all supported metrics under catalyst.metrics
      • wrap_metric_fn_with_activation for model outputs wrapping with activation
      • extra tests for metrics
    • (#1039)
      • per_class=False option for metrics callbacks
      • PrecisionCallack, RecallCallack for multiclass problems
      • extra docs

    Changed

    • docs update (#1000)
    • AMPOptimizerCallback and OptimizerCallback were merged (#1007)
    • (#1017)
      • fixed bug in SchedulerCallback
      • Log LRs and momentums for all param groups, not only for the first one
    • (#1002)
      • tensorboard, ipython, matplotlib, pandas, scikit-learn moved to optional requirements
      • PerplexityMetricCallback moved to catalyst.callbacks from catalyst.contrib.callbacks
      • PerplexityMetricCallback renamed to PerplexityCallback
      • catalyst.contrib.utils.confusion_matrix renamed to catalyst.contrib.utils.torch_extra
      • many parts of catalyst.data moved to catalyst.contrib.data
      • catalyst.data.scripts moved to catalyst.contrib.scripts
      • catalyst.utils, catalyst.data.utils and catalyst.contrib.utils restructured
      • ReaderSpec renamed to IReader
      • SupervisedExperiment renamed to AutoCallbackExperiment
    • gain functions renamed for dcg/ndcg metrics (#998)
    • (#1014)
      • requirements respecification: catalyst[cv], catalyst[dev], catalyst[log], catalyst[ml], catalyst[nlp],catalyst[tune]
      • settings respecification
      • extra tests for settings

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in the .dependabot/config.yml file in this repo:

    • Update frequency
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 1
  • Bump catalyst[cv] from 20.7 to 20.12 in /requirements

    Bump catalyst[cv] from 20.7 to 20.12 in /requirements

    Bumps catalyst[cv] from 20.7 to 20.12.

    Release notes

    Sourced from catalyst[cv]'s releases.

    Catalyst 20.12

    [20.12] - 2020-12-20

    Added

    • CVS Logger (#1005)
    • DrawMasksCallback (#999)
    • (#1002)
      • a few docs
    • (#998)
      • reciprocal_rank metric
      • unified recsys metrics preprocessing
    • (#1018)
      • readme examples for all supported metrics under catalyst.metrics
      • wrap_metric_fn_with_activation for model outputs wrapping with activation
      • extra tests for metrics
    • (#1039)
      • per_class=False option for metrics callbacks
      • PrecisionCallack, RecallCallack for multiclass problems
      • extra docs

    Changed

    • docs update (#1000)
    • AMPOptimizerCallback and OptimizerCallback were merged (#1007)
    • (#1017)
      • fixed bug in SchedulerCallback
      • Log LRs and momentums for all param groups, not only for the first one
    • (#1002)
      • tensorboard, ipython, matplotlib, pandas, scikit-learn moved to optional requirements
      • PerplexityMetricCallback moved to catalyst.callbacks from catalyst.contrib.callbacks
      • PerplexityMetricCallback renamed to PerplexityCallback
      • catalyst.contrib.utils.confusion_matrix renamed to catalyst.contrib.utils.torch_extra
      • many parts of catalyst.data moved to catalyst.contrib.data
      • catalyst.data.scripts moved to catalyst.contrib.scripts
      • catalyst.utils, catalyst.data.utils and catalyst.contrib.utils restructured
      • ReaderSpec renamed to IReader
      • SupervisedExperiment renamed to AutoCallbackExperiment
    • gain functions renamed for dcg/ndcg metrics (#998)
    • (#1014)
      • requirements respecification: catalyst[cv], catalyst[dev], catalyst[log], catalyst[ml], catalyst[nlp],catalyst[tune]
      • settings respecification
      • extra tests for settings
      • contrib refactoring
    • iou and dice metrics moved to per-class computation (#1031)

    Removed

    Changelog

    Sourced from catalyst[cv]'s changelog.

    [20.12] - 2020-12-20

    Added

    • CVS Logger (#1005)
    • DrawMasksCallback (#999)
    • (#1002)
      • a few docs
    • (#998)
      • reciprocal_rank metric
      • unified recsys metrics preprocessing
    • (#1018)
      • readme examples for all supported metrics under catalyst.metrics
      • wrap_metric_fn_with_activation for model outputs wrapping with activation
      • extra tests for metrics
    • (#1039)
      • per_class=False option for metrics callbacks
      • PrecisionCallack, RecallCallack for multiclass problems
      • extra docs

    Changed

    • docs update (#1000)
    • AMPOptimizerCallback and OptimizerCallback were merged (#1007)
    • (#1017)
      • fixed bug in SchedulerCallback
      • Log LRs and momentums for all param groups, not only for the first one
    • (#1002)
      • tensorboard, ipython, matplotlib, pandas, scikit-learn moved to optional requirements
      • PerplexityMetricCallback moved to catalyst.callbacks from catalyst.contrib.callbacks
      • PerplexityMetricCallback renamed to PerplexityCallback
      • catalyst.contrib.utils.confusion_matrix renamed to catalyst.contrib.utils.torch_extra
      • many parts of catalyst.data moved to catalyst.contrib.data
      • catalyst.data.scripts moved to catalyst.contrib.scripts
      • catalyst.utils, catalyst.data.utils and catalyst.contrib.utils restructured
      • ReaderSpec renamed to IReader
      • SupervisedExperiment renamed to AutoCallbackExperiment
    • gain functions renamed for dcg/ndcg metrics (#998)
    • (#1014)
      • requirements respecification: catalyst[cv], catalyst[dev], catalyst[log], catalyst[ml], catalyst[nlp],catalyst[tune]
      • settings respecification
      • extra tests for settings
      • contrib refactoring
    • iou and dice metrics moved to per-class computation (#1031)

    Removed

    • (#1002)
      • KNNMetricCallback
      • sklearn mode for ConfusionMatrixLogger
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in the .dependabot/config.yml file in this repo:

    • Update frequency
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 1
  • Bump catalyst[cv] from 20.7 to 20.11 in /requirements

    Bump catalyst[cv] from 20.7 to 20.11 in /requirements

    Bumps catalyst[cv] from 20.7 to 20.11.

    Changelog

    Sourced from catalyst[cv]'s changelog.

    [20.11] - 2020-11-12

    Added

    • DCG, nDCG metrics (#881)
    • MAP calculations #968
    • hitrate calculations #975 (catalyst-team/catalyst#975)
    • extra functions for classification metrics (#966)
    • OneOf and OneOfV2 batch transforms (#951)
    • precision_recall_fbeta_support metric (#971)
    • Pruning tutorial (#987)
    • BatchPrefetchLoaderWrapper (#986)
    • DynamicBalanceClassSampler (#954)

    Changed

    • update Catalyst version to 20.10.1 for tutorials (#967)
    • added link to dl-course (#967)
    • docs were restructured (#985)
    • set_global_seed moved from utils.seed to utils.misc (#986)

    Removed

    • several deprecated tutorials (#967)
    • several deprecated func from utils.misc (#986)

    Fixed

    • BatchTransformCallback - add nn.Module transforms support (#951)
    • moved to contiguous view for accuracy computation (#982)
    • fixed torch warning on optimizer.py:140 (#979)

    [20.10.1] - 2020-10-15

    Added

    • MRR metrics calculation (#886)
    • docs for MetricCallbacks (#947)
    • SoftMax, CosFace, ArcFace layers to contrib (#939)
    • ArcMargin layer to contrib (#957)
    • AdaCos to contrib (#958)
    • Manual SWA to utils (#945)

    Changed

    • fixed path to CHANGELOG.md file and add information about unit test to PULL_REQUEST_TEMPLATE.md (#955)(catalyst-team/catalyst#955)
    • catalyst-dl tune config specification - now optuna params are grouped under study_params (#947)
    • IRunner._prepare_for_stage logic moved to IStageBasedRunner.prepare_for_stage (#947)
      • now we create components in the following order: datasets/loaders, model, criterion, optimizer, scheduler, callbacks
    • MnistMLDataset and MnistQGDataset data split logic - now targets of the datasets are disjoint (#949)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in the .dependabot/config.yml file in this repo:

    • Update frequency
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 1
  • Bump catalyst[cv] from 20.7 to 20.10.1 in /requirements

    Bump catalyst[cv] from 20.7 to 20.10.1 in /requirements

    Bumps catalyst[cv] from 20.7 to 20.10.1.

    Changelog

    Sourced from catalyst[cv]'s changelog.

    [20.10.1] - 2020-10-15

    Added

    • MRR metrics calculation (#886)
    • docs for MetricCallbacks (#947)
    • SoftMax, CosFace, ArcFace layers to contrib (#939)
    • ArcMargin layer to contrib (#957)
    • AdaCos to contrib (#958)
    • Manual SWA to utils (#945)

    Changed

    • fixed path to CHANGELOG.md file and add information about unit test to PULL_REQUEST_TEMPLATE.md (#955)(catalyst-team/catalyst#955)
    • catalyst-dl tune config specification - now optuna params are grouped under study_params (#947)
    • IRunner._prepare_for_stage logic moved to IStageBasedRunner.prepare_for_stage (#947)
      • now we create components in the following order: datasets/loaders, model, criterion, optimizer, scheduler, callbacks
    • MnistMLDataset and MnistQGDataset data split logic - now targets of the datasets are disjoint (#949)
    • architecture redesign (#953)
      • experiments, runners, callbacks grouped by primitives under catalyst.experiments/catalyst.runners/catalyst.callbacks respectively
      • settings and typing moved from catalyst.tools.* to catalyst.*
      • utils moved from catalyst.*.utils to catalyst.utils
    • swa moved to catalyst.utils (#963)

    Removed

    Fixed

    • AMPOptimizerCallback - fix grad clip fn support (#948)
    • removed deprecated docs types (#947) (#952)
    • docs for a few files (#952)
    • extra backward compatibility fixes (#963)

    [20.09.1] - 2020-09-25

    Added

    • Runner registry support for Config API (#936)

    • catalyst-dl tune command - Optuna with Config API integration for AutoML hyperparameters optimization (#937)

    • OptunaPruningCallback alias for OptunaCallback (#937)

    • AdamP and SGDP to catalyst.contrib.nn.criterion (#942)

    Changed

    • Config API components preparation logic moved to utils.prepare_config_api_components (#936)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in the .dependabot/config.yml file in this repo:

    • Update frequency
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 1
  • Bump catalyst[cv] from 20.7 to 21.7 in /requirements

    Bump catalyst[cv] from 20.7 to 21.7 in /requirements

    Bumps catalyst[cv] from 20.7 to 21.7.

    Release notes

    Sourced from catalyst[cv]'s releases.

    Catalyst 21.07

    [21.07] - 2021-07-29

    Added

    • added pre-commit hook to run codestyle checker on commit (#1257)
    • on publish github action for docker and docs added (#1260)
    • MixupCallback and utils.mixup_batch (#1241)
    • Barlow twins loss (#1259)
    • BatchBalanceClassSampler (#1262)

    Changed

    Removed

    Fixed

    • make expdir in catalyst-dl run optional (#1249)
    • Bump neptune-client from 0.9.5 to 0.9.8 in requirements-neptune.txt (#1251)
    • automatic merge for master (with Mergify) fixed (#1250)
    • Evaluate loader custom model bug was fixed (#1254)
    • BatchPrefetchLoaderWrapper issue with batch-based PyTorch samplers (#1262)
    • Adapted MlflowLogger for new config hierarchy (#1263)

    Contributors ❤️

    @​AlekseySh @​bagxi @​Casyfill @​Dokholyan @​leoromanovich @​Nimrais @​y-ksenia

    Catalyst 21.06

    [21.06] - 2021-06-29

    Added

    • (#1230)
      • FairScale support
      • DeepSpeed support
      • utils.ddp_sync_run function for synchronous ddp run
      • CIFAR10 and CIFAR100 datasets from torchvision (no cv-based requirements)
      • Catalyst Engines demo
    • dataset_from_params support in config API (#1231)
    • transform from params support for config API added (#1236)
    • samplers from params support for config API added (#1240)
    • recursive registry.get_from_params added (#1241)
    • albumentations integration (#1238)
    • Profiler callback (#1226)

    Changed

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in the .dependabot/config.yml file in this repo:

    • Update frequency
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 0
  • Upgrade to GitHub-native Dependabot

    Upgrade to GitHub-native Dependabot

    Dependabot Preview will be shut down on August 3rd, 2021. In order to keep getting Dependabot updates, please merge this PR and migrate to GitHub-native Dependabot before then.

    Dependabot has been fully integrated into GitHub, so you no longer have to install and manage a separate app. This pull request updates your config file to the new syntax. When merged, we'll swap out dependabot-preview (me) for a new dependabot app, and you'll be all set!

    With this change, you'll now use the Dependabot page in GitHub, rather than the Dependabot dashboard, to monitor your version updates, and you'll configure Dependabot through the new config file rather than a UI.

    If you've got any questions or feedback for us, please let us know by creating an issue in the dependabot/dependabot-core repository.

    Learn more about migrating to GitHub-native Dependabot

    Please note that regular @dependabot commands do not work on this pull request.

    dependencies 
    opened by dependabot-preview[bot] 1
  • How to evalute my trained model

    How to evalute my trained model

    Hi, I performed the training using the semantic segmentation pipeline available here. I would like to know how I evaluate the trained model in a test dataset? by reading the files, I think it is something with the infer stage but I didn't understand how to use it. And I didn't find any place to set the path to my trained weights. Thanks.

    opened by BrunoKrinski 0
  • Doubt about data augmentation

    Doubt about data augmentation

    Hi!

    I will perform some experiments with data augmentation and I need to train the network without any data augmentation as baseline. I would like to confirm with removing the following lines of semantic.yml file will perform the train without any data augmentation:

        - &hard_transforms
          transform: A.Compose
          transforms:
            - transform: A.ShiftScaleRotate
              shift_limit: 0.1
              scale_limit: 0.1
              rotate_limit: 15
              border_mode: 2  # cv2.BORDER_REFLECT
            - transform: A.OneOf
              transforms:
                - transform: A.HueSaturationValue
                - transform: A.ToGray
                - transform: A.RGBShift
                - transform: A.ChannelShuffle
            - transform: A.RandomBrightnessContrast
              brightness_limit: 0.5
              contrast_limit: 0.5
            - transform: A.RandomGamma
            - transform: A.CLAHE
            - transform: A.ImageCompression
              quality_lower: 50
    

    Thanks!

    opened by BrunoKrinski 1
  • unexpected keyword argument: as_gray when using Tiff based images

    unexpected keyword argument: as_gray when using Tiff based images

    I'm trying to replicate this pipeline with Tiff based images, concretely the Inria dataset, and various Spanecenet challenge datasets

    Dataset path: manually set my path -> DATADIR=DATADIR=/path/to/your_dataset

    Binary segmentation pipeline arguments as README: CUDA_VISIBLE_DEVICES=0
    CUDNN_BENCHMARK="True"
    CUDNN_DETERMINISTIC="True"
    WORKDIR=./logs
    DATADIR='/mnt/d/Servando/NEW2-AerialImageDataset/AerialImageDataset/train/framework_tests'
    IMAGE_SIZE=256
    CONFIG_TEMPLATE=./configs/templates/binary.yml
    NUM_WORKERS=4
    BATCH_SIZE=256
    bash ./bin/catalyst-binary-segmentation-pipeline.sh

    ERROR: image

    Did a little debugging and found that within /site-packages/catalyst/contrib/utils/cv/image.py tiff support is currently not available

    image

    opened by Servando1990 0
Pretrained SOTA Deep Learning models, callbacks and more for research and production with PyTorch Lightning and PyTorch

Pretrained SOTA Deep Learning models, callbacks and more for research and production with PyTorch Lightning and PyTorch

Pytorch Lightning 1.4k Jan 1, 2023
A user-friendly research and development tool built to standardize RL competency assessment for custom agents and environments.

Built with ❤️ by Sam Showalter Contents Overview Installation Dependencies Usage Scripts Standard Execution Environment Development Environment Benchm

SRI-AIC 1 Nov 18, 2021
FAIR's research platform for object detection research, implementing popular algorithms like Mask R-CNN and RetinaNet.

Detectron is deprecated. Please see detectron2, a ground-up rewrite of Detectron in PyTorch. Detectron Detectron is Facebook AI Research's software sy

Facebook Research 25.5k Jan 7, 2023
MLSpace: Hassle-free machine learning & deep learning development

MLSpace: Hassle-free machine learning & deep learning development

abhishek thakur 293 Jan 3, 2023
A PyTorch Library for Accelerating 3D Deep Learning Research

Kaolin: A Pytorch Library for Accelerating 3D Deep Learning Research Overview NVIDIA Kaolin library provides a PyTorch API for working with a variety

NVIDIA GameWorks 3.5k Jan 7, 2023
A multi-functional library for full-stack Deep Learning. Simplifies Model Building, API development, and Model Deployment.

chitra What is chitra? chitra (चित्र) is a multi-functional library for full-stack Deep Learning. It simplifies Model Building, API development, and M

Aniket Maurya 210 Dec 21, 2022
Ivy is a templated deep learning framework which maximizes the portability of deep learning codebases.

Ivy is a templated deep learning framework which maximizes the portability of deep learning codebases. Ivy wraps the functional APIs of existing frameworks. Framework-agnostic functions, libraries and layers can then be written using Ivy, with simultaneous support for all frameworks. Ivy currently supports Jax, TensorFlow, PyTorch, MXNet and Numpy. Check out the docs for more info!

Ivy 8.2k Jan 2, 2023
SenseNet is a sensorimotor and touch simulator for deep reinforcement learning research

SenseNet is a sensorimotor and touch simulator for deep reinforcement learning research

null 59 Feb 25, 2022
Plato: A New Framework for Federated Learning Research

a new software framework to facilitate scalable federated learning research.

System Group@Theory Lab 192 Jan 5, 2023
A Real-Time-Strategy game for Deep Learning research

Description DeepRTS is a high-performance Real-TIme strategy game for Reinforcement Learning research. It is written in C++ for performance, but provi

Centre for Artificial Intelligence Research (CAIR) 156 Dec 19, 2022
Research on Tabular Deep Learning (Python package & papers)

Research on Tabular Deep Learning For paper implementations, see the section "Papers and projects". rtdl is a PyTorch-based package providing a user-f

Yura Gorishniy 510 Dec 30, 2022
A general framework for deep learning experiments under PyTorch based on pytorch-lightning

torchx Torchx is a general framework for deep learning experiments under PyTorch based on pytorch-lightning. TODO list gan-like training wrapper text

Yingtian Liu 6 Mar 17, 2022
Bagua is a flexible and performant distributed training algorithm development framework.

Bagua is a flexible and performant distributed training algorithm development framework.

null 786 Dec 17, 2022
deep-table implements various state-of-the-art deep learning and self-supervised learning algorithms for tabular data using PyTorch.

deep-table implements various state-of-the-art deep learning and self-supervised learning algorithms for tabular data using PyTorch.

null 63 Oct 17, 2022
A modular, research-friendly framework for high-performance and inference of sequence models at many scales

T5X T5X is a modular, composable, research-friendly framework for high-performance, configurable, self-service training, evaluation, and inference of

Google Research 1.1k Jan 8, 2023
A sample pytorch Implementation of ACL 2021 research paper "Learning Span-Level Interactions for Aspect Sentiment Triplet Extraction".

Span-ASTE-Pytorch This repository is a pytorch version that implements Ali's ACL 2021 research paper Learning Span-Level Interactions for Aspect Senti

来自丹麦的天籁 10 Dec 6, 2022
Template repository for managing machine learning research projects built with PyTorch-Lightning

Tutorial Repository with a minimal example for showing how to deploy training across various compute infrastructure.

Sidd Karamcheti 3 Feb 11, 2022