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
MPRNet-Cloud-removal: Progressive cloud removal

MPRNet-Cloud-removal Progressive cloud removal Requirements 1.Pytorch = 1.0 2.Python 3 3.NVIDIA GPU + CUDA 9.0 4.Tensorboard Installation 1.Clone the

Semi 95 Dec 18, 2022
Code for CVPR2019 paperใ€ŠUnequal Training for Deep Face Recognition with Long Tailed Noisy Dataใ€‹

Unequal-Training-for-Deep-Face-Recognition-with-Long-Tailed-Noisy-Data. This is the code of CVPR 2019 paperใ€ŠUnequal Training for Deep Face Recognition

Zhong Yaoyao 68 Jan 07, 2023
Official repository for the paper F, B, Alpha Matting

FBA Matting Official repository for the paper F, B, Alpha Matting. This paper and project is under heavy revision for peer reviewed publication, and s

Marco Forte 404 Jan 05, 2023
A customisable game where you have to quickly click on black tiles in order of appearance while avoiding clicking on white squares.

W.I.P-Aim-Memory-Game A customisable game where you have to quickly click on black tiles in order of appearance while avoiding clicking on white squar

dE_soot 1 Dec 08, 2021
[CVPR 2022 Oral] EPro-PnP: Generalized End-to-End Probabilistic Perspective-n-Points for Monocular Object Pose Estimation

EPro-PnP EPro-PnP: Generalized End-to-End Probabilistic Perspective-n-Points for Monocular Object Pose Estimation In CVPR 2022 (Oral). [paper] Hanshen

ๅŒๆตŽๅคงๅญฆๆ™บ่ƒฝๆฑฝ่ฝฆ็ ”็ฉถๆ‰€็ปผๅˆๆ„Ÿ็Ÿฅ็ ”็ฉถ็ป„ ( Comprehensive Perception Research Group under Institute of Intelligent Vehicles, School of Automotive Studies, Tongji University) 842 Jan 04, 2023
Memory Efficient Attention (O(sqrt(n)) for Jax and PyTorch

Memory Efficient Attention This is unofficial implementation of Self-attention Does Not Need O(n^2) Memory for Jax and PyTorch. Implementation is almo

Amin Rezaei 126 Dec 27, 2022
Audio-Visual Generalized Few-Shot Learning with Prototype-Based Co-Adaptation

Audio-Visual Generalized Few-Shot Learning with Prototype-Based Co-Adaptation The code repository for "Audio-Visual Generalized Few-Shot Learning with

Kaiaicy 3 Jun 27, 2022
Adversarial Graph Augmentation to Improve Graph Contrastive Learning

ADGCL : Adversarial Graph Augmentation to Improve Graph Contrastive Learning Introduction This repo contains the Pytorch [1] implementation of Adversa

susheel suresh 62 Nov 19, 2022
Main repository for the HackBio'2021 Virtual Internship Experience for #Team-Greider โค๏ธ

Hello ๐ŸคŸ #Team-Greider The team of 20 people for HackBio'2021 Virtual Bioinformatics Internship ๐Ÿ’ ๐Ÿ–จ๏ธ ๐Ÿ‘จโ€๐Ÿ’ป HackBio: https://thehackbio.com ๐Ÿ’ฌ Ask us

Siddhant Sharma 7 Oct 20, 2022
[CVPR'21] Projecting Your View Attentively: Monocular Road Scene Layout Estimation via Cross-view Transformation

Projecting Your View Attentively: Monocular Road Scene Layout Estimation via Cross-view Transformation Weixiang Yang, Qi Li, Wenxi Liu, Yuanlong Yu, Y

118 Dec 26, 2022
Split your patch similarly to `git add -p` but supporting multiple buckets

split-patch.py This is git add -p on steroids for patches. Given a my.patch you can run ./split-patch.py my.patch You can choose in which bucket to p

102 Oct 06, 2022
an implementation of 3D Ken Burns Effect from a Single Image using PyTorch

3d-ken-burns This is a reference implementation of 3D Ken Burns Effect from a Single Image [1] using PyTorch. Given a single input image, it animates

Simon Niklaus 1.4k Dec 28, 2022
curl-impersonate: A special compilation of curl that makes it impersonate Chrome & Firefox

curl-impersonate A special compilation of curl that makes it impersonate real browsers. It can impersonate the four major browsers: Chrome, Edge, Safa

lwthiker 1.9k Jan 03, 2023
Pytorch reimplement of the paper "A Novel Cascade Binary Tagging Framework for Relational Triple Extraction" ACL2020. The original code is written in keras.

CasRel-pytorch-reimplement Pytorch reimplement of the paper "A Novel Cascade Binary Tagging Framework for Relational Triple Extraction" ACL2020. The o

longlongman 170 Dec 01, 2022
Segmentation models with pretrained backbones. Keras and TensorFlow Keras.

Python library with Neural Networks for Image Segmentation based on Keras and TensorFlow. The main features of this library are: High level API (just

Pavel Yakubovskiy 4.2k Jan 09, 2023
Spatial Temporal Graph Convolutional Networks (ST-GCN) for Skeleton-Based Action Recognition in PyTorch

Reminder ST-GCN has transferred to MMSkeleton, and keep on developing as an flexible open source toolbox for skeleton-based human understanding. You a

sijie yan 1.1k Dec 25, 2022
SOTA model in CIFAR10

A PyTorch Implementation of CIFAR Tricks ่ฐƒ็ ”ไบ†CIFAR10ๆ•ฐๆฎ้›†ไธŠๅ„็งtrick๏ผŒๆ•ฐๆฎๅขžๅผบ๏ผŒๆญฃๅˆ™ๅŒ–ๆ–นๆณ•๏ผŒๅนถ่ฟ›่กŒไบ†ๅฎž็Žฐใ€‚็›ฎๅ‰้กน็›ฎๅ‘Šไธ€ๆฎต่ฝ๏ผŒๅฆ‚ๆžœๆœ‰ๆ›ดๅฅฝ็š„ๆƒณๆณ•๏ผŒๆˆ–่€…ๅธŒๆœ›ไธ€่ตท็ปดๆŠค่ฟ™ไธช้กน็›ฎๅฏไปฅๆissueๆˆ–่€…ๅœจๆˆ‘็š„ไธป้กตๆ‰พๅˆฐๆˆ‘็š„่”็ณปๆ–นๅผใ€‚ 0. Requirement

PJDong 58 Dec 21, 2022
Real-Time Multi-Contact Model Predictive Control via ADMM

Here, you can find the code for the paper 'Real-Time Multi-Contact Model Predictive Control via ADMM'. Code is currently being cleared up and optimize

17 Dec 28, 2022
Constructing interpretable quadratic accuracy predictors to serve as an objective function for an IQCQP problem that represents NAS under latency constraints and solve it with efficient algorithms.

IQNAS: Interpretable Integer Quadratic programming Neural Architecture Search Realistic use of neural networks often requires adhering to multiple con

0 Oct 24, 2021
Code for WSDM 2022 paper, Contrastive Learning for Representation Degeneration Problem in Sequential Recommendation.

DuoRec Code for WSDM 2022 paper, Contrastive Learning for Representation Degeneration Problem in Sequential Recommendation. Usage Download datasets fr

Qrh 46 Dec 19, 2022