Coder Social home page Coder Social logo

k-han / dtc Goto Github PK

View Code? Open in Web Editor NEW
155.0 155.0 15.0 1.31 MB

"Learning to Discover Novel Visual Categories via Deep Transfer Clustering" by Kai Han, Andrea Vedaldi, Andrew Zisserman (ICCV 2019)

Home Page: http://www.robots.ox.ac.uk/~vgg/research/DTC/

License: MIT License

Python 94.49% Shell 5.51%

dtc's People

Contributors

k-han 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  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  avatar  avatar

dtc's Issues

any tips on working with precision,recall?

Hello I happened to see your work on calculating the accuracy for unsupervised clustering using bipartie method (ranking system). Does this repository also include on how to calculate precision/recall? If not, do you have any tips on how to calculate those metrics? Thanks in advance

Not able to find ImageNet images

Thank you for the code.

There is a RuntimeError getting raised because apparently the code is not able to find the images of ImageNet.

The error is raised when calling ImageFolder class, from within imagenetloader.py, specifically, inside the object ImageNetLoader30. Upon having a closer look at ImageNetLoader30, I found the following line:
samples_30 = make_dataset(path+'images/{}'.format(subfolder), classes_30, class_to_idx_30),
where path = './data/datasets/ImageNet', and subfolder = 'train'.

And when viewing samples_30 after this line, I get nothing but an empty array.
That's why when ImageFolder is called with this empty array as shown in the following line
dataset = ImageFolder(transform=transform, samples=samples_30)

, it prompts the mentioned error.

Does that mean that in the path directory, we should manually create a folder called train (possibly for testing and validation too) and populate it with the images belonging to the categories described by the WNIDs?

I thought that that would be done automatically as part of the pipeline but as the error is getting raised, maybe it is not?

Thank you in advance.

Ahmad

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.