Code Monkey home page Code Monkey logo

vog's People

Contributors

chirag126 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

Watchers

 avatar  avatar  avatar

vog's Issues

An unexpected result when using the pre-softmax layer instead of the softmax layer

Thank you for sharing the amazing work!

When I run the toy example, it runs perfectly fine and shows the exact same result you uploaded in this repo.
Below are the command and the result.

  • command
    $ python3 toy_script.py --split test --mode early --vog_cal normalize
    
  • result
    image

However, I found that the code uses the gradient of the softmax layer w.r.t. the input, which differs from the paper in that the pre-softmax layer is used in the paper. So I changed a single line of toy_script.py as below and got a somewhat weird result when I run the code again.

  • change
    Screenshot from 2022-06-29 20-53-18
  • result
    image

What did I miss here?

Question about VoG on early training stage

While reading paper, I get confused about the conflicts between figure and the contents.

image

Section 3.5, VoG understands early and late training dynamics part

  • In the early training stage, samples having higher VoG scores have a lower average error rate as the gradient updates hinge on easy examples.
  • This phenomenon reverses during the late-stage of the training, where, across all datasets, high VoG scores in the late-stage have the highest error rates as updates to the challenging examples dominate the computation of variance.

What I understand is below

  • In early-stage training, easy examples have high VoG score
  • In late-stage training, difficult examples have high VoG score

But Figure 2 seems different what I expected.

Early-stage training with highest VoG score doesn't look like easy examples, however lowest VoG score seems quite easy examples.

Is there something I'm missing?

CUDA runs out of memory

Hi,
While running this code, because the gradients w.r.t all images is of the dimension [50000,32,32,3], it seems that my CUDA is running out of memory very soon .

Image super-resolution tasks

Hi there, I came across your work when I went to the last CVPR and have been thinking for quite some time on how to apply this for image super-resolution. Currently, the script is for classification networks with a labelled training this, how can this be adapted for tasks which do not have predicted scores or labels?
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.