Giter Club home page Giter Club logo

Comments (4)

WuDiDaBinGe avatar WuDiDaBinGe commented on September 15, 2024 1

Thanks for you repling. But i still don't understand.
I don't know why use temperature to balance adversarial training and class conditioning.
gen_acml_loss += self.contrastive_lambda*self.contrastive_criterion(cls_embed_fake, cls_proxies_fake, fake_cls_mask, fake_labels, t, self.margin)
did't this value (contrastive_lambda i ) already balanced them?

from pytorch-studiogan.

mingukkang avatar mingukkang commented on September 15, 2024

Hi,

The additional temperature (t) is multiplied for a balance between adversarial training and class conditioning.

However, as you can see in src/configs, all temperatures in ContraGAN.json are fixed at 1.0.

Sorry for the late reply.

Thank you.

from pytorch-studiogan.

mingukkang avatar mingukkang commented on September 15, 2024

Hello.

I noticed that multiplying both the temperature and self.contrastive_lambda is redundant.

I will revise the code in the main branch (actually it is already reflected in the renew_cfgs branch (worker.py line 293), which will officially be released at the end of this month).

Thank you.

from pytorch-studiogan.

WuDiDaBinGe avatar WuDiDaBinGe commented on September 15, 2024

OK.Thanks a lot

from pytorch-studiogan.

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.