Git Product home page Git Product logo

lnl-nce's People

Contributors

lijichang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

yul1998

lnl-nce's Issues

label consistency regularization for unlabeled data cifar100

Hi,
It would be great if you can tell me why loss of unlabeled data should be calculated with 'cat[inputs_us, inputs_xs]' in cifar100,but not in other dataset such as cifar10.I didn't find the explanation for that in paper.
Thanks!
The part of the code is:

    # label consistency regularization for unlabeled data
    if (args.dataset == 'cifar100') and ((args.r==0.2) or (args.r==0.5)):
        all_inputs, all_labels, all_masks = torch.cat([inputs_us, inputs_xs], dim=0), torch.cat([labels_u,  labels_x], dim=0), torch.cat([mask_u, mask_x], dim=0)
        all_logits = net(all_inputs)
        Lu = (F.cross_entropy(all_logits, all_labels, reduction='none') * all_masks.float()).mean()
    else:
        logits_us = net(inputs_us)
        Lu = (F.cross_entropy(logits_us, labels_u, reduction='none') * mask_u.float()).mean()

Code release

Your work is really interesting and impressive!

And I wonder when the code will be released?

Symmetric 20% reproducibility

Hi. First of all, I really want to say I am really inspired by your awesome work!

However, while reproducing the results from the paper I've encountered an issue.

With all the hyperparameters set same as the paper I can't reproduce the same result with 20% symmetric noise.

The paper says the best results is 96.2±0.09, but what I get consistently is around 95.2.

Is there something I missed? I would really appreciate your response, thanks!

How to run on LNL-NCE custom datasets ?

I would like to know how to run LNL-NCE on custom datasets, the repository code seems very specific to datasets, have you made LNL-NCE into a tool?

Thanks.

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.