GithubHelp home page GithubHelp logo

bg2crw / top_k_optimization Goto Github PK

View Code? Open in Web Editor NEW
40.0 40.0 4.0 120.49 MB

Main repository for Sampling Wisely: Deep Image by Top-k Precision Optimization

License: MIT License

Python 100.00%

top_k_optimization's People

Contributors

bg2crw 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

Watchers

 avatar  avatar

top_k_optimization's Issues

Replicating paper results

Thanks for the interesting paper!
I was trying to replicate your results, specifically, on the caltech birds dataset.
I'm running your code as is, using method 8 (Another_precision_@k loss), but the metrics seem to significantly underperform the published results.

Are there any hyper parameter differences between what was used to generate the results in the paper versus what is published in this repo?

Thanks!

about proxy-nca loss

loss = torch.sum(- T * F.log_softmax(D, -1), -1), should D be -D since we want to minimize the distance between the example with its proxy with same label.

About SmoothPrec_at_K.py

Thanks for sharing your codes.
I have read your codes and paper.
Is the proposed method implemented in SmoothPrec_at_K.py?
I think there are some differences between the paper and SmoothPrec_at_K.py.

Regularizer in `Another_P_at_K.py`

Hi,
I've been wondering about the regularization term that you introduced in the code, but isn't mentioned anywhere in the paper (see here, lines 82-88). Is there any specific motivation for it, or can you quantify how much this contributed to the performance of your loss, compared to a non-regularized version?

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.