Giter Club home page Giter Club logo

data-transfer's People

Contributors

hadisalman 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

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

coolyashas

data-transfer's Issues

Decrease the number of logits after removing categories?

Do you decrease the number of logits after removing categories? Say, you remove 100 categories, then the logits of ImageNet are still 1000 as the original number of labels or changed to 900? 

It seems that I cannot find the removing logits in your source code, so I assume it is the former. 

If yes, why do you consider keeping logits as the origin rather than decreasing the number, being equal to the number of remaining categories?

How to generate the index for excluding examples for npy?

I understand the indexes for npys in class_exclusion are the category indexes. But what about the ones in example_exclusion?

Now I index the examples based on the ImageFolder's indexing on ImageNet, for example:

train_dataset = datasets.ImageFolder(args.data_dir) 
exs_list = [x[0].split('/')[-1].split('.')[0] for x in train_dataset.imgs]

But it seems slow. Could you guide me to the indexing to-be-excluded examples in your source code? (If there is any). Or let me know what is your way to do it?

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.