An AutoML Library made with Optuna and PyTorch Lightning

Overview

logo

An AutoML Library made with Optuna and PyTorch Lightning

Maintainability Rating Reliability Rating Security Rating codecov Documentation Status DOI Slack

PyPI - Python Version PyPI version Downloads Downloads license

Installation

Recommended

pip install -U gradsflow

From source

pip install git+https://github.com/gradsflow/[email protected]

Highlights

What is Gradsflow?

Gradsflow is based on Optuna and PyTorch Lightning โšก๏ธ . It leverages PyTorch Lightning Flash so that you don't have to write any PyTorch or Optuna code for model building or hyperparameter tuning ๐Ÿš€

Although you might want to train a custom model and search hyperparameters, You can easily integrate any PyTorch/Lightning Flash Model with Gradsflow AutoModel โœจ

  • gradsflow.core: Core defines the building blocks of AutoML tasks.

  • gradsflow.taskauto: AutoTasks defines different ML/DL tasks which is provided by Gradsflow AutoML API.

๐Ÿ“‘ Check out notebooks examples.

๐Ÿ’ฌ Join the Slack group to chat with us.

๐Ÿค— Contribute

Contributions of any kind are welcome. Please check the Contributing Guidelines before contributing.

Code Of Conduct

We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.

Read full Contributor Covenant Code of Conduct

Acknowledgement

Gradsflow is built with help of Optuna and PyTorch Lightning ๐Ÿ’œ

Comments
  • Tensorboard callbacks

    Tensorboard callbacks

    Changes

    Fixes #123

    Type of change

    • [ ] ๐Ÿ“š Documentation Update
    • [ ] ๐Ÿงช Tests Cases
    • [ ] ๐Ÿž Bug fix (non-breaking change which fixes an issue)
    • [x] ๐Ÿ”ฌ New feature (non-breaking change which adds functionality)
    • [ ] ๐Ÿšจ Breaking change (fix or feature that would cause existing functionality to not work as expected)
    • [ ] ๐Ÿ“ This change requires a documentation update

    Checklist

    • [x] My code follows the style guidelines of this project
    • [x] I have performed a self-review of my own code
    • [ ] I have commented my code, particularly in hard-to-understand areas
    • [ ] I have made corresponding changes to the documentation
    • [x] My changes generate no new warnings
    • [x] Did you update CHANGELOG (docs/CHANGELOG.md) in case of a major change?

    Solves issue #123 I have added basic tensorboard callback functionality which include: logging the loss and accuracy for both training and validation. Is there any other functionality of tensorboard that I need to add @aniketmaurya

    documentation enhancement 
    opened by arvindmuralie77 10
  • (PYL-W0613) Function contains unused argument

    (PYL-W0613) Function contains unused argument

    Description

    An unused argument can lead to confusions. It should be removed. If this variable is necessary, name the variable _ or start the name with unused or _unused.

    Occurrences

    There are 5 occurrences of this issue in the repository.

    See all occurrences on DeepSource โ†’ deepsource.io/gh/gradsflow/gradsflow/issue/PYL-W0613/occurrences/

    no-issue-activity 
    opened by aniketmaurya 8
  • Add a conda installation option

    Add a conda installation option

    I believe, adding a conda installation option for gradsflow will be helpful for growth and adoption of the library. I have started the work on it already. Once the :bulb: PR gets approved and merged, you will have gradsflow on conda-forge.

    conda install -c conda-forge gradsflow
    

    :no_entry: :fire: Roadblock to conda-forge packaging

    However, there seems to be a problem: it appears that this library is somewhat tightly coupled with comet_ml (which has a proprietary license -- NOT OpenSource). If you could work on making this a weak coupling, or better yet make comet_ml optional (even for tests), that would allow us to make gradsflow available on conda-forge.

    opened by sugatoray 8
  • implement callbacks

    implement callbacks

    ๐Ÿš˜ Callback Roadmap

    • [x] #120 - @aniketmaurya #121
    • [ ] #122 - @aniketmaurya https://github.com/gradsflow/gradsflow/pull/151
    • [x] Tensorboard #123
    • [x] Comet #125
    • [x] WandB Callback #124
    • [x] CSV Logger - @aniketmaurya #116
    enhancement help wanted hacktoberfest no-issue-activity 
    opened by aniketmaurya 7
  • ๐Ÿš€ CLI

    ๐Ÿš€ CLI

    Changes

    New feature: AutoML Training with CLI

    Type of change

    • [ ] ๐Ÿ“š Documentation Update
    • [ ] ๐Ÿงช Tests Cases
    • [ ] ๐Ÿž Bug fix (non-breaking change which fixes an issue)
    • [x] ๐Ÿ”ฌ New feature (non-breaking change which adds functionality)
    • [ ] ๐Ÿšจ Breaking change (fix or feature that would cause existing functionality to not work as expected)
    • [ ] ๐Ÿ“ This change requires a documentation update

    Checklist

    • [ ] My code follows the style guidelines of this project
    • [ ] I have performed a self-review of my own code
    • [ ] I have commented my code, particularly in hard-to-understand areas
    • [ ] I have made corresponding changes to the documentation
    • [ ] My changes generate no new warnings
    • [ ] Did you update CHANGELOG in case of a major change?
    enhancement API design no-pr-activity 
    opened by aniketmaurya 5
  • Argparse support added.

    Argparse support added.

    Feature Request

    Type of change

    • [X] ๐Ÿ”ฌ New feature (non-breaking change which adds functionality)

    Hi @aniketmaurya,

    I added the argparser property for the image_classifier.py file.

    example no-pr-activity 
    opened by kadirnar 4
  • ๐Ÿ”ฅ Support Schedulers

    ๐Ÿ”ฅ Support Schedulers

    Changes

    Fixes #88

    Type of change

    • [ ] ๐Ÿ“š Documentation Update
    • [ ] ๐Ÿงช Tests Cases
    • [ ] ๐Ÿž Bug fix (non-breaking change which fixes an issue)
    • [x] ๐Ÿ”ฌ New feature (non-breaking change which adds functionality)
    • [ ] ๐Ÿšจ Breaking change (fix or feature that would cause existing functionality to not work as expected)
    • [ ] ๐Ÿ“ This change requires a documentation update

    Checklist

    • [x] My code follows the style guidelines of this project
    • [x] I have performed a self-review of my own code
    • [x] I have commented my code, particularly in hard-to-understand areas
    • [x] I have made corresponding changes to the documentation
    • [x] My changes generate no new warnings
    • [ ] Did you update CHANGELOG in case of a major change?
    enhancement test no-pr-activity 
    opened by aniketmaurya 4
  • โ˜„๏ธ comet integration

    โ˜„๏ธ comet integration

    Changes

    Fixes #125

    Type of change

    • [ ] ๐Ÿ“š Documentation Update
    • [ ] ๐Ÿงช Tests Cases
    • [ ] ๐Ÿž Bug fix (non-breaking change which fixes an issue)
    • [x] ๐Ÿ”ฌ New feature (non-breaking change which adds functionality)
    • [ ] ๐Ÿšจ Breaking change (fix or feature that would cause existing functionality to not work as expected)
    • [ ] ๐Ÿ“ This change requires a documentation update

    Checklist

    • [x] My code follows the style guidelines of this project
    • [x] I have performed a self-review of my own code
    • [x] I have commented my code, particularly in hard-to-understand areas
    • [x] I have made corresponding changes to the documentation
    • [x] My changes generate no new warnings
    • [ ] Did you update CHANGELOG in case of a major change?
    enhancement test example API design 
    opened by aniketmaurya 4
  • Automatic Task Selection

    Automatic Task Selection

    Is your feature request related to a problem? Please describe.

    Create Tasks directly from AutoClassifier instead of explicitly calling AutoImageClassification or AutoTextSummarization

    Describe the solution you'd like

    model=AutoClassification(datamodule, data_type="image")  # expected `data_type`-> image, text, infer
    model.hp_tune()
    
    enhancement good first issue help wanted 
    opened by aniketmaurya 4
  • migrate to ray_tune

    migrate to ray_tune

    Changes

    Fixes #35

    Type of change

    • [ ] Documentation Update
    • [ ] Bug fix (non-breaking change which fixes an issue)
    • [x] New feature (non-breaking change which adds functionality)
    • [x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
    • [x] This change requires a documentation update

    Checklist

    • [x] My code follows the style guidelines of this project
    • [x] I have performed a self-review of my own code
    • [x] I have commented my code, particularly in hard-to-understand areas
    • [x] I have made corresponding changes to the documentation
    • [x] My changes generate no new warnings
    documentation enhancement test example API design 
    opened by aniketmaurya 4
  • Adding example notebook for AutoSummarization

    Adding example notebook for AutoSummarization

    Changes

    Fixes #5 (issue)

    Type of change

    • [x] New feature (non-breaking change which adds functionality)

    Checklist

    • [x] My code follows the style guidelines of this project
    • [x] I have performed a self-review of my own code
    • [x] I have commented my code, particularly in hard-to-understand areas
    • [x] I have made corresponding changes to the documentation
    • [x] My changes generate no new warnings
    example 
    opened by gagan3012 4
Releases(v0.0.8.post1)
  • v0.0.8.post1(May 18, 2022)

    What's Changed

    • ๐ŸŒŸ format docs by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/170
    • [Snyk] Fix for 3 vulnerabilities by @snyk-bot in https://github.com/gradsflow/gradsflow/pull/171
    • Tensorboard callbacks by @arvindmuralie77 in https://github.com/gradsflow/gradsflow/pull/173
    • update docs :memo: by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/175
    • anti pattern fixes from deepsource by @skp-github in https://github.com/gradsflow/gradsflow/pull/176
    • [pre-commit.ci] pre-commit suggestions by @pre-commit-ci in https://github.com/gradsflow/gradsflow/pull/177
    • Demo & fixes by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/180
    • Upgrade deps by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/181
    • ๐Ÿ› minor bug fixes and reformat by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/182
    • fix examples and Flash trainer by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/183
    • refactor apis by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/184
    • Fix examples by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/185

    New Contributors

    • @snyk-bot made their first contribution in https://github.com/gradsflow/gradsflow/pull/171
    • @arvindmuralie77 made their first contribution in https://github.com/gradsflow/gradsflow/pull/173
    • @skp-github made their first contribution in https://github.com/gradsflow/gradsflow/pull/176

    Full Changelog: https://github.com/gradsflow/gradsflow/compare/v0.0.8...v0.0.8.post1

    Source code(tar.gz)
    Source code(zip)
  • v0.0.8(Jan 14, 2022)

    What's Changed

    • ๐Ÿคฉ refactor core by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/136
    • cleanup APIs by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/137
    • added conda installation instruction by @sugatoray in https://github.com/gradsflow/gradsflow/pull/144
    • recursively exclude tests folder and its contents by @sugatoray in https://github.com/gradsflow/gradsflow/pull/141
    • add model.save test by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/147
    • remove redundant to_item by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/152
    • refactor Tracker by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/153
    • Change methods not using its bound instance to staticmethods by @deepsource-autofix in https://github.com/gradsflow/gradsflow/pull/156
    • refactor metrics by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/159
    • add dataoader length by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/160
    • fix model checkpoint folder not found by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/162
    • Fix metrics update by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/163
    • Replace multiple == checks with in by @deepsource-autofix in https://github.com/gradsflow/gradsflow/pull/167
    • increment current_epoch after each epoch by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/169
    • Wandb Implementation by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/168

    Full Changelog: https://github.com/gradsflow/gradsflow/compare/v0.0.7...v0.0.8

    Source code(tar.gz)
    Source code(zip)
  • v0.0.8.dev1(Jan 12, 2022)

    What's Changed

    • optional pl dependency by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/133
    • minor fixes by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/134
    • ๐Ÿ“š update example by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/135
    • ๐Ÿคฉ refactor core by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/136
    • cleanup APIs by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/137
    • remove dependencies by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/139
    • added conda installation instruction by @sugatoray in https://github.com/gradsflow/gradsflow/pull/144
    • recursively exclude tests folder and its contents by @sugatoray in https://github.com/gradsflow/gradsflow/pull/141
    • pin flash version to 0.5.1 by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/143
    • refactor backend by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/146
    • Remove flit by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/148
    • add model.save test by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/147
    • Update main.yml by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/149
    • remove redundant to_item by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/152
    • [pre-commit.ci] pre-commit suggestions by @pre-commit-ci in https://github.com/gradsflow/gradsflow/pull/155
    • refactor Tracker by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/153
    • Change methods not using its bound instance to staticmethods by @deepsource-autofix in https://github.com/gradsflow/gradsflow/pull/156
    • ๐Ÿ“ fix documentation & examples by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/158
    • refactor metrics by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/159
    • add dataoader length by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/160
    • fix model checkpoint folder not found by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/162
    • Fix metrics update by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/163

    Full Changelog: https://github.com/gradsflow/gradsflow/compare/v0.0.7...v0.0.8.dev1

    Source code(tar.gz)
    Source code(zip)
  • v0.0.7.post2(Dec 11, 2021)

    What's Changed

    • optional pl dependency by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/133
    • minor fixes by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/134
    • ๐Ÿ“š update example by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/135
    • ๐Ÿคฉ refactor core by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/136
    • cleanup APIs by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/137

    Full Changelog: https://github.com/gradsflow/gradsflow/compare/v0.0.7...v0.0.7.post2

    Source code(tar.gz)
    Source code(zip)
  • v0.0.7(Nov 26, 2021)

    Highlights

    • โ˜„๏ธ comet integration #129
    • add model checkpoint callback #121
    • ๐Ÿ“ add csv logger #116
    • ๐Ÿš€ add train_eval_callback #111
    • ๐Ÿช„ add Average Meter #109
    • fix device issue in metric calculation PR #106

    What's Changed

    • [pre-commit.ci] pre-commit suggestions by @pre-commit-ci in https://github.com/gradsflow/gradsflow/pull/98
    • clean docs by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/100
    • fix optimizer by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/102
    • fix device issue in metric calculation by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/106
    • โœจ refactor tuner by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/107
    • ๐Ÿ“š add example & better intro by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/108
    • ๐Ÿช„ add Average Meter by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/109
    • Fixes metrics device handling by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/110
    • ๐Ÿš€ add train_eval_callback by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/111
    • refactor training callback by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/112
    • ๐Ÿ”ฅData refactor by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/113
    • ๐Ÿš€ Bump test coverage by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/114
    • fix live display error on multiple runs by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/115
    • ๐Ÿ“ add csv logger by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/116
    • โœจrefactor base model by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/118
    • โ˜˜๏ธ add codecarbon callback by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/119
    • add model checkpoint callback by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/121
    • fix loss compile by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/126
    • add requirement decorator by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/128
    • Refactor callback runner by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/130
    • โ˜„๏ธ comet integration by @aniketmaurya in https://github.com/gradsflow/gradsflow/pull/129

    New Contributors

    • @pre-commit-ci made their first contribution in https://github.com/gradsflow/gradsflow/pull/98

    Full Changelog: https://github.com/gradsflow/gradsflow/compare/v0.0.6...v0.0.7

    Source code(tar.gz)
    Source code(zip)
  • v0.0.6(Oct 4, 2021)

    0.0.6

    • ๐ŸŽ‰ Revamp Callbacks and Training #94
    • โœจ refactor data handling ๐Ÿ“ docs update. PR #91
    • integrate torchmetrics. PR #80
    • callbacks & ๐Ÿค‘ ProgressCallback. PR #76
    • ๐Ÿ”ฅ Add AutoModel Tuner. PR #74
    • refactor APIs - Simplify API & add model.compile(...). PR #73
    • ๐Ÿค— integrate HF Accelerator. PR #71
    Source code(tar.gz)
    Source code(zip)
  • v0.0.5(Sep 26, 2021)

    What is New?

    • Keras style Model Training API ๐ŸŽ‰
    • Remote Dataset Loader - create dataloader from any cloud Bucket โ˜๏ธ
    • Datagenerator for Image Classification (more to come soon...)

    ๐Ÿ“š Documentation & Examples

    To install $ pip install -U gradsflow

    Release Notes

    • ๐Ÿ”ฅ Add custom training loop with model.fit. PR #63 Done by @aniketmaurya
    • โ˜๏ธ Add ray.data - remote dataset loader. PR #61 Done by @aniketmaurya
    • ๐ŸŽ‰ Add AutoDataset - Encapsulate datamodule and dataloaders. PR #59 Done by @aniketmaurya
    • ๐ŸŒŸ Add Autotask feature. PR #54 Done by @gagan3012
    • โœจ Add AutoTrainer to support plain torch training loop and other torch frameworks. PR #53
    Source code(tar.gz)
    Source code(zip)
  • v0.0.5a0(Sep 25, 2021)

    Release Notes

    ๐Ÿ”ฅ Add custom training loop with model.fit. PR #63 Done by @aniketmaurya โ˜๏ธ Add ray.data - remote dataset loader. PR #61 Done by @aniketmaurya ๐ŸŽ‰ Add AutoDataset - Encapsulate datamodule and dataloaders. PR #59 Done by @aniketmaurya ๐ŸŒŸ Add Autotask feature. PR #54 Done by @gagan3012 โœจ Add AutoTrainer to support plain torch training loop and other torch frameworks. PR #53

    $ pip install gradsflow==0.0.5a0

    ๐Ÿ“š Get started with Documentation

    Source code(tar.gz)
    Source code(zip)
  • v0.0.4(Sep 3, 2021)

    Latest Changes

    • fix best checkpoints model loading #52
    • ๐Ÿš€ feature/fix train arguments docs #44
    • Publish Python ๐Ÿ distributions ๐Ÿ“ฆ to PyPI #42
    Source code(tar.gz)
    Source code(zip)
  • v0.0.3(Aug 30, 2021)

    0.0.3

    Latest Changes

    Get Started Now

    ๐Ÿ“š Documentation: docs.gradsflow.com

    $ pip install -U gradsflow

    Example

    from gradsflow import AutoImageClassifier
    
    from flash.core.data.utils import download_data
    from flash.image import ImageClassificationData
    
    
    data_dir = "/Users/aniket/personal/gradsflow/gradsflow/data/"
    download_data("https://pl-flash-data.s3.amazonaws.com/hymenoptera_data.zip", data_dir)
    datamodule = ImageClassificationData.from_folders(
        train_folder=f"{data_dir}/hymenoptera_data/train/",
        val_folder=f"{data_dir}/hymenoptera_data/val/",
    )
    
    model = AutoImageClassifier(
        datamodule,
        max_epochs=2,
        n_trials=4,
        optimization_metric="val_accuracy",
        timeout=50,
    )
    
    print("AutoImageClassifier initialised!")
    model.hp_tune(gpu=1)
    
    Source code(tar.gz)
    Source code(zip)
  • v0.0.3a2(Aug 29, 2021)

    • migrate to ray_tune ๐ŸŒŸ. Read more here. PR #36 by @aniketmaurya.
    • render jupyter notebooks in documentation. PR #38 by @aniketmaurya.

    $ pip install -U gradsflow==0.0.3a2

    ๐Ÿ“ Read more on documentation

    Source code(tar.gz)
    Source code(zip)
  • v0.0.3a1(Aug 26, 2021)

  • v0.0.2(Aug 26, 2021)

  • v0.0.1(Aug 25, 2021)

    Release Notes

    0.0.1

    What is Gradsflow?

    Gradsflow is based on Optuna and PyTorch Lightning โšก๏ธ. It leverages PyTorch Lightning Flash so that you don't have to write any PyTorch or Optuna code for model building or hyperparameter tuning ๐Ÿš€

    Although you might want to train a custom model and search hyperparameters, You can easily integrate any PyTorch/Lightning Flash Model with Gradsflow AutoModel โœจ

    gradsflow.core: Core defines the building blocks of AutoML tasks.

    gradsflow.taskauto: AutoTasks defines different ML/DL tasks which is provided by Gradsflow AutoML API.

    Image classification example

        from flash.core.data.utils import download_data
        from flash.image import ImageClassificationData
    
        from gradsflow import AutoImageClassifier
    
        # 1. Create the DataModule
        download_data("https://pl-flash-data.s3.amazonaws.com/hymenoptera_data.zip", "./data")
    
        datamodule = ImageClassificationData.from_folders(
            train_folder="data/hymenoptera_data/train/",
            val_folder="data/hymenoptera_data/val/",
        )
    
        suggested_conf = dict(
            optimizers=["adam", "sgd"],
            lr=(5e-4, 1e-3),
        )
        model = AutoImageClassifier(datamodule,
                                    suggested_conf=suggested_conf,
                                    max_epochs=10,
                                    optimization_metric="val_accuracy",
                                    timeout=300)
        model.hp_tune()
    
    
    Source code(tar.gz)
    Source code(zip)
  • v0.0.1b1(Aug 24, 2021)

  • 0.0.1a1(Aug 22, 2021)

    • Added AutoImageClassification
    • Added AutoTextClassification

    Example

    model = AutoImageClassifier(datamodule,
                                suggested_backbones=['ssl_resnet18'],
                                suggested_conf=suggested_conf,
                                max_epochs=1,
                                optimization_metric="val_accuracy",
                                timeout=30)
    
    print("AutoImageClassifier initialised!")
    model.hp_tune()
    
    Source code(tar.gz)
    Source code(zip)
Owner
GradsFlow
No Code Artificial Intelligence
GradsFlow
Unofficial implementation of Google "CutPaste: Self-Supervised Learning for Anomaly Detection and Localization" in PyTorch

CutPaste CutPaste: image from paper Unofficial implementation of Google's "CutPaste: Self-Supervised Learning for Anomaly Detection and Localization"

Lilit Yolyan 59 Nov 27, 2022
A super lightweight Lagrangian model for calculating millions of trajectories using ERA5 data

Easy-ERA5-Trck Easy-ERA5-Trck Galleries Install Usage Repository Structure Module Files Version iteration Easy-ERA5-Trck is a super lightweight Lagran

Zhenning Li 26 Nov 19, 2022
Portfolio asset allocation strategies: from Markowitz to RNNs

Portfolio asset allocation strategies: from Markowitz to RNNs Research project to explore different approaches for optimal portfolio allocation starti

Luigi Filippo Chiara 1 Feb 05, 2022
Official repository for the paper "Self-Supervised Models are Continual Learners" (CVPR 2022)

Self-Supervised Models are Continual Learners This is the official repository for the paper: Self-Supervised Models are Continual Learners Enrico Fini

Enrico Fini 73 Dec 18, 2022
A Fast and Stable GAN for Small and High Resolution Imagesets - pytorch

A Fast and Stable GAN for Small and High Resolution Imagesets - pytorch The official pytorch implementation of the paper "Towards Faster and Stabilize

Bingchen Liu 455 Jan 08, 2023
Calculates JMA (Japan Meteorological Agency) seismic intensity (shindo) scale from acceleration data recorded in NumPy array

shindo.py Calculates JMA (Japan Meteorological Agency) seismic intensity (shindo) scale from acceleration data stored in NumPy array Introduction Japa

RR_Inyo 3 Sep 23, 2022
Implementation of trRosetta and trDesign for Pytorch, made into a convenient package

trRosetta - Pytorch (wip) Implementation of trRosetta and trDesign for Pytorch, made into a convenient package

Phil Wang 67 Dec 17, 2022
Automated Hyperparameter Optimization Competition

QQๆต่งˆๅ™จ2021AI็ฎ—ๆณ•ๅคง่ต› - ่‡ชๅŠจ่ถ…ๅ‚ๆ•ฐไผ˜ๅŒ–็ซž่ต› ACM CIKM 2021 AnalyticCup ๅœจไฟกๆฏๆตๆŽจ่ไธšๅŠกๅœบๆ™ฏไธญๆ™ฎ้ๅญ˜ๅœจๆจกๅž‹ๆˆ–็ญ–็•ฅๆ•ˆๆžœไพ่ต–ไบŽโ€œ่ถ…ๅ‚ๆ•ฐโ€็š„้—ฎ้ข˜๏ผŒ่€Œโ€œ่ถ…ๅ‚ๆ•ฐ"็š„่ฎพๅฎšๅพ€ๅพ€ไพ่ต–ไบบๅทฅ็ป้ชŒ่ฐƒๅ‚๏ผŒไธไป…ๆ•ˆ็އไฝŽไธ‹็ปดๆŠคๆˆๆœฌ้ซ˜๏ผŒ่€Œไธ”้šพไปฅๅฎž็Žฐๆ›ดไผ˜ๆ•ˆๆžœใ€‚ๅ› ๆญค๏ผŒๆœฌๆฌก่ต›้ข˜ไปฅ่ถ…ๅ‚ๆ•ฐไผ˜ๅŒ–ไธบไธป้ข˜๏ผŒไปŽ็œŸ

20 Dec 09, 2021
Implementing DeepMind's Fast Reinforcement Learning paper

Fast Reinforcement Learning This is a repo where I implement the algorithms in the paper, Fast reinforcement learning with generalized policy updates.

Marcus Chiam 6 Nov 28, 2022
Code for "Unsupervised Source Separation via Bayesian inference in the latent domain"

LQVAE-separation Code for "Unsupervised Source Separation via Bayesian inference in the latent domain" Paper Samples GT Compressed Separated Drums GT

Michele Mancusi 30 Oct 25, 2022
This repository contains the PyTorch implementation of the paper STaCK: Sentence Ordering with Temporal Commonsense Knowledge appearing at EMNLP 2021.

STaCK: Sentence Ordering with Temporal Commonsense Knowledge This repository contains the pytorch implementation of the paper STaCK: Sentence Ordering

Deep Cognition and Language Research (DeCLaRe) Lab 23 Dec 16, 2022
Trading Strategies for Freqtrade

Freqtrade Strategies Strategies for Freqtrade, developed primarily in a partnership between @werkkrew and @JimmyNixx from the Freqtrade Discord. Use t

Bryan Chain 242 Jan 07, 2023
Deploy optimized transformer based models on Nvidia Triton server

Deploy optimized transformer based models on Nvidia Triton server

Lefebvre Sarrut Services 1.2k Jan 05, 2023
Code for layerwise detection of linguistic anomaly paper (ACL 2021)

Layerwise Anomaly This repository contains the source code and data for our ACL 2021 paper: "How is BERT surprised? Layerwise detection of linguistic

6 Dec 07, 2022
[SIGIR22] Official PyTorch implementation for "CORE: Simple and Effective Session-based Recommendation within Consistent Representation Space".

CORE This is the official PyTorch implementation for the paper: Yupeng Hou, Binbin Hu, Zhiqiang Zhang, Wayne Xin Zhao. CORE: Simple and Effective Sess

RUCAIBox 26 Dec 19, 2022
Potato Disease Classification - Training, Rest APIs, and Frontend to test.

Potato Disease Classification Setup for Python: Install Python (Setup instructions) Install Python packages pip3 install -r training/requirements.txt

codebasics 95 Dec 21, 2022
A PyTorch Implementation of Gated Graph Sequence Neural Networks (GGNN)

A PyTorch Implementation of GGNN This is a PyTorch implementation of the Gated Graph Sequence Neural Networks (GGNN) as described in the paper Gated G

Ching-Yao Chuang 427 Dec 13, 2022
DeepFaceLab fork which provides IPython Notebook to use DFL with Google Colab

DFL-Colab โ€” DeepFaceLab fork for Google Colab This project provides you IPython Notebook to use DeepFaceLab with Google Colaboratory. You can create y

779 Jan 05, 2023
Awesome AI Learning with +100 AI Cheat-Sheets, Free online Books, Top Courses, Best Videos and Lectures, Papers, Tutorials, +99 Researchers, Premium Websites, +121 Datasets, Conferences, Frameworks, Tools

All about AI with Cheat-Sheets(+100 Cheat-sheets), Free Online Books, Courses, Videos and Lectures, Papers, Tutorials, Researchers, Websites, Datasets

Niraj Lunavat 1.2k Jan 01, 2023