Code Monkey home page Code Monkey logo

Comments (6)

vfdev-5 avatar vfdev-5 commented on August 25, 2024 1

We have some interesting code to port into data augs libs like albumentations

https://github.com/pytorch/ignite/blob/f02a91a28153e08092dbb625472e0211f642923d/ignite/contrib/engines/dali.py#L27

and

pytorch/ignite#493 (comment)

Maybe we can try to build something like that here:

  • ComposeOps
  • generalized TransformPipeline

Certainly it wont support all your augs, only DALI ones, but this could help user to avoid copying common stuff.

@albu @ternaus what do you think ?

I can try to provide a draft PR if you are interested.

from albumentations.

BloodAxe avatar BloodAxe commented on August 25, 2024

From my perspective, most probably not. DALI has they own augmentation pipeline which is not compatible with albumentations API. Therefore support of DALI would require to introduce breaking changes in albumentations with doubtful outcome.

from albumentations.

albu avatar albu commented on August 25, 2024

I want to try it and figure it out if we can simplify DALI usage because it's really cool but really weird

from albumentations.

Data-drone avatar Data-drone commented on August 25, 2024

any progress @albu

from albumentations.

albu avatar albu commented on August 25, 2024

sorry, no progress here

from albumentations.

dnola avatar dnola commented on August 25, 2024

I have an additional example of the usage here - it really brings DALI usage inline with Albumentations/PyTorch Compose usage, so would be very cool to have integrated

Usability wise this code is a super handy way of dropping GPU acceleration as a nearly 'drop in' replacement to existing PyTorch/Albumentations workloads - we just need to find a home for it.

Take a look! Here is another Colab:

https://colab.research.google.com/drive/1XDRzDeIeteTPyzYbZp2XWjKtUWMLXqcg

from albumentations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.