Git Product home page Git Product logo

fixbi's Introduction

NaJaeMin92's GitHub stats

FixBi CoVi Dual-teacher

fixbi's People

Contributors

najaemin92 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

fixbi's Issues

Accuracy for Office-Home dataset is quite low

Hi,

Thank you for releasing the code.

I run the code on the Office-Home dataset with the default parameters, but I find the accuracy is very low. I also try to tune the parameters, but it seems does not work. Can you provide the parameters that you use for the Office-Home dataset? Thank you.

Could you share your code?

The CVPR 21 conference is already finished this week. Could you share your code so that others can re-produce your results & build upon your work?

Question about "Self-penalization with negative pseudo-labels".

Hello,
Thanks for your great work. I have a quesion regarded to the following paragraph.
image

In your paper, the negative pseudo-label indicates the most confident label (top-1 label) predicted by the network with a confidence lower than the threshold ฯ„. However, it may seem counterintuitive that the negative pseudo-label is unlikely to be correct. Despite having a low confidence value, it still possesses the highest prediction value among all categories.
I'm feeling a bit puzzled; could you provide me with some guidance or instructions?

Threshold Calculation

Hi, according to your paper, the threshold \tau should be calculated as (mean - 2 * std)

Thus, in here:

threshold = top_mean - args.th * top_prob

It seems to be:
threshold = top_mean - args.th * top_std

Is my understanding correct? Please help me check about it, thanks!

About the train epoch

Hello, I find that all of the total epoches, bim_start, sp_start and cr_start are equal to 100. So Bidirectional Matching and Consistency Regularization will not start in this case. Can you check the code and reply me?

Pretrained baseline weights

@NaJaeMin92
Hi, I read FixBi interestingly and want to reproduce some results.

Can you provide .pt files?

FixBi/src/utils.py

Lines 36 to 42 in fdf370d

def load_net(args, net, head, classifier):
print("Load pre-trained baseline model !")
save_folder = args.baseline_path
net.module.load_state_dict(torch.load(save_folder + '/net.pt'), strict=False)
head.module.load_state_dict(torch.load(save_folder + '/head.pt'), strict=False)
classifier.module.load_state_dict(torch.load(save_folder + '/classifier.pt'), strict=False)
return net, head, classifier

(net.pt, head.pt, classifier.pt)

You mentioned this repo for pretrained weights, but to me, it seems two repo has different network architecture (so cannot be loaded even if I train using the mentioned repo).

Should I edit networks' architecture of DANN (as same as this repo), train it on the Office-31 dataset, and use it as a pretrained baseline weight?

Thank you for your work and I will wait for your response.

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.