Git Product home page Git Product logo

Comments (11)

quantumalaviya avatar quantumalaviya commented on May 21, 2024 2

Yeah, turns out the implementation is rather trivial when implemented on its own. This shouldn't be a problem.
However, instead of adding it to the utils, I have added it as a static function inside the layer (see PR #407) similar to Beta sampling in MixUp and FourierMix.

from keras-cv.

bhack avatar bhack commented on May 21, 2024 1

What is Applies Confidence Adjusted Mixup (CAMixup) regularization!

Is CONFIDENCE ADJUSTED MIXUP ENSEMBLES in:

https://arxiv.org/abs/2010.09875

from keras-cv.

innat avatar innat commented on May 21, 2024 1

cc. @AakashKumarNain
Ref.

from keras-cv.

bhack avatar bhack commented on May 21, 2024

google/automl#362

google/uncertainty-baselines@274772f

from keras-cv.

innat avatar innat commented on May 21, 2024

What is Applies Confidence Adjusted Mixup (CAMixup) regularization!

from keras-cv.

LukeWood avatar LukeWood commented on May 21, 2024

Thanks for opening this. I'll be including this soon from tf similarity

from keras-cv.

quantumalaviya avatar quantumalaviya commented on May 21, 2024

I was looking to implement this but there seems to be no implementation of Dirichlet outside tensorflow_probability (which I assume can't be used). The only other option seems to be the implementation of the distribution as part of utils (which seems unnecessarily tedious).

I would love any suggestions here!

from keras-cv.

bhack avatar bhack commented on May 21, 2024

There is also in Tensorflow but It is a v1 symbol (TF 1.x/compat) so we cannot use It:

https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/distributions/dirichlet.py#L44

I suppose that it was not maintained as an API in TF2 cause these kind of things are handled in TFP.

from keras-cv.

quantumalaviya avatar quantumalaviya commented on May 21, 2024

We can't use tfp here though, right?

from keras-cv.

LukeWood avatar LukeWood commented on May 21, 2024

I was looking to implement this but there seems to be no implementation of Dirichlet outside tensorflow_probability (which I assume can't be used). The only other option seems to be the implementation of the distribution as part of utils (which seems unnecessarily tedious).

I would love any suggestions here!

Good question. I have not given the interaction with TFP any thought. My instinct is if the only extra offering we get by adding it is Augmix that it may not be worth adding it as a dep.

from keras-cv.

innat avatar innat commented on May 21, 2024

@quantumalaviya

The only other option seems to be the implementation of the distribution as part of utils (which seems unnecessarily tedious).

If using tfp is not an option, I think it may be needed to add this distribution as part of utils (sounds unpleasant, agree).
Because who knows, we may need it for other cases, LIKE.

from keras-cv.

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.