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
PyTorchCV: A PyTorch-Based Framework for Deep Learning in Computer Vision.

PyTorchCV: A PyTorch-Based Framework for Deep Learning in Computer Vision @misc{CV2018, author = {Donny You ( Donny You 40 Sep 14, 2022

Code and Experiments for ACL-IJCNLP 2021 Paper Mind Your Outliers! Investigating the Negative Impact of Outliers on Active Learning for Visual Question Answering.

Code and Experiments for ACL-IJCNLP 2021 Paper Mind Your Outliers! Investigating the Negative Impact of Outliers on Active Learning for Visual Question Answering.

Sidd Karamcheti 50 Nov 16, 2022
Fast methods to work with hydro- and topography data in pure Python.

PyFlwDir Intro PyFlwDir contains a series of methods to work with gridded DEM and flow direction datasets, which are key to many workflows in many ear

Deltares 27 Dec 07, 2022
NVIDIA container runtime

nvidia-container-runtime A modified version of runc adding a custom pre-start hook to all containers. If environment variable NVIDIA_VISIBLE_DEVICES i

NVIDIA Corporation 938 Jan 06, 2023
DeepFaceLive - Live Deep Fake in python, Real-time face swap for PC streaming or video calls

DeepFaceLive - Live Deep Fake in python, Real-time face swap for PC streaming or video calls

8.3k Dec 31, 2022
Dual Attention Network for Scene Segmentation (CVPR2019)

Dual Attention Network for Scene Segmentation(CVPR2019) Jun Fu, Jing Liu, Haijie Tian, Yong Li, Yongjun Bao, Zhiwei Fang,and Hanqing Lu Introduction W

Jun Fu 2.2k Dec 28, 2022
This repository is the code of the paper "Sparse Spatial Transformers for Few-Shot Learning".

🌟 Sparse Spatial Transformers for Few-Shot Learning This code implements the Sparse Spatial Transformers for Few-Shot Learning(SSFormers). Our code i

chx_nju 38 Dec 13, 2022
Galactic and gravitational dynamics in Python

Gala is a Python package for Galactic and gravitational dynamics. Documentation The documentation for Gala is hosted on Read the docs. Installation an

Adrian Price-Whelan 101 Dec 22, 2022
Code release for "Transferable Semantic Augmentation for Domain Adaptation" (CVPR 2021)

Transferable Semantic Augmentation for Domain Adaptation Code release for "Transferable Semantic Augmentation for Domain Adaptation" (CVPR 2021) Paper

66 Dec 16, 2022
Implementation of SwinTransformerV2 in TensorFlow.

SwinTransformerV2-TensorFlow A TensorFlow implementation of SwinTransformerV2 by Microsoft Research Asia, based on their official implementation of Sw

Phan Nguyen 2 May 30, 2022
Action Segmentation Evaluation

Reference Action Segmentation Evaluation Code This repository contains the reference code for action segmentation evaluation. If you have a bug-fix/im

5 May 22, 2022
[ACL 20] Probing Linguistic Features of Sentence-level Representations in Neural Relation Extraction

REval Table of Contents Introduction Overview Requirements Installation Probing Usage Citation License πŸŽ“ Introduction REval is a simple framework for

13 Jan 06, 2023
This is an official implementation for "Video Swin Transformers".

Video Swin Transformer By Ze Liu*, Jia Ning*, Yue Cao, Yixuan Wei, Zheng Zhang, Stephen Lin and Han Hu. This repo is the official implementation of "V

Swin Transformer 981 Jan 03, 2023
Learning Visual Words for Weakly-Supervised Semantic Segmentation

[IJCAI 2021] Learning Visual Words for Weakly-Supervised Semantic Segmentation Implementation of IJCAI 2021 paper Learning Visual Words for Weakly-Sup

Lixiang Ru 24 Oct 05, 2022
Code for the paper "Attention Approximates Sparse Distributed Memory"

Attention Approximates Sparse Distributed Memory - Codebase This is all of the code used to run analyses in the paper "Attention Approximates Sparse D

Trenton Bricken 14 Dec 05, 2022
Lightweight Face Image Quality Assessment

LightQNet This is a demo code of training and testing [LightQNet] using Tensorflow. Uncertainty Losses: IDQ loss PCNet loss Uncertainty Networks: Mobi

Kaen 5 Nov 18, 2022
Keras implementation of "One pixel attack for fooling deep neural networks" using differential evolution on Cifar10 and ImageNet

One Pixel Attack How simple is it to cause a deep neural network to misclassify an image if an attacker is only allowed to modify the color of one pix

Dan Kondratyuk 1.2k Dec 26, 2022
Code for paper PairRE: Knowledge Graph Embeddings via Paired Relation Vectors.

PairRE Code for paper PairRE: Knowledge Graph Embeddings via Paired Relation Vectors. This implementation of PairRE for Open Graph Benchmak datasets (

Alipay 65 Dec 19, 2022
Next-Best-View Estimation based on Deep Reinforcement Learning for Active Object Classification

next_best_view_rl Setup Clone the repository: git clone --recurse-submodules ... In 'third_party/zed-ros-wrapper': git checkout devel Install mujoco `

Christian Korbach 1 Feb 15, 2022
[NeurIPS 2020] Official Implementation: "SMYRF: Efficient Attention using Asymmetric Clustering".

SMYRF: Efficient attention using asymmetric clustering Get started: Abstract We propose a novel type of balanced clustering algorithm to approximate a

Giannis Daras 46 Dec 22, 2022