Coder Social home page Coder Social logo

Comments (4)

zhanghang1989 avatar zhanghang1989 commented on May 23, 2024 1

The 120 classes not unique.

idx120 = list(set(idx120))
len(idx120)
Out[4]: 110

from fast-autoaugment.

ildoonet avatar ildoonet commented on May 23, 2024
  1. Sorry for the mistake. We modified the code by mistake for another issue.
    First, we sample 500000 training data(approximately 500 samples for each 1k classes) and then we sample 120 classes. This will get us approximately 500 samples for each random 120 classes.

  2. As you pointed out, we used 110 classes by mistake. This is not intended. The result in our paper was from this 110 classes. If you want to, please make a pull request which modify code to use exclusive 120 classes. It might lead to a slightly better result.

Thanks for reporting this!

from fast-autoaugment.

zhanghang1989 avatar zhanghang1989 commented on May 23, 2024

Thanks for the reply! BTW, it is a great work.

  1. I swap the sequence of the operations by first get the samples from 120 classes and then get the 6000 splits.
  2. An easy way to get 120 unique classes can be:
idx120 = sorted(random.sample(list(range(1000)), k=120))

from fast-autoaugment.

ildoonet avatar ildoonet commented on May 23, 2024

@zhanghang1989 Thanks for the tip. I updated the repo as you suggested. But for the better reproducibility, I hardcoded indice. (Also swapping the sequence of code would be better, but I didn't do this at this time)

If you don't need any assistance on this matter, please close this issue.

from fast-autoaugment.

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.