Giter Site home page Giter Site logo

issue about contrastive-clustering HOT 14 CLOSED

yunfan-li avatar yunfan-li commented on June 8, 2024
issue

from contrastive-clustering.

Comments (14)

Yunfan-Li avatar Yunfan-Li commented on June 8, 2024

Have you checked the dimension of CCH?

from contrastive-clustering.

NWPU-Li avatar NWPU-Li commented on June 8, 2024

I have set thd dimension of CCH with class_num

from contrastive-clustering.

NWPU-Li avatar NWPU-Li commented on June 8, 2024

After 20 epochs, i tested 'ImageNet-dogs',i print len(indices) and i get 1,but 'CIFAR10/100' is True

from contrastive-clustering.

NWPU-Li avatar NWPU-Li commented on June 8, 2024

``
Uploading image.png…

from contrastive-clustering.

Yunfan-Li avatar Yunfan-Li commented on June 8, 2024

Perhaps it is because the file organization of ImageNet-dogs is wrong. You may check the ground-truth labels and see if it contains 0-14.

from contrastive-clustering.

NWPU-Li avatar NWPU-Li commented on June 8, 2024

I get the datasets from http://vision.stanford.edu/aditya86/ImageNetDogs/,it includes images and annotations .
How do i deal with?
Thanks.

from contrastive-clustering.

Yunfan-Li avatar Yunfan-Li commented on June 8, 2024

I command using ImageFolder following the instructions in https://pytorch.org/vision/stable/datasets.html#imagefolder.

from contrastive-clustering.

Yunfan-Li avatar Yunfan-Li commented on June 8, 2024

The dataset you downloaded seems to be inconsistent with the one used in the paper. In our experiments, the ImageNet-dogs data consists of 15 subclasses of the original Imagenet dataset, the indices of which are given in /datasets/ImageNet-dogs.txt.

from contrastive-clustering.

NWPU-Li avatar NWPU-Li commented on June 8, 2024

I have already corrected the data consists of 15subclasses, and then I need to merge 'images' with 'annotations'?

from contrastive-clustering.

Yunfan-Li avatar Yunfan-Li commented on June 8, 2024

Please follow the instructions in https://pytorch.org/vision/stable/datasets.html#imagefolder and arrange images of different classes in different subfolders.

from contrastive-clustering.

NWPU-Li avatar NWPU-Li commented on June 8, 2024

Now,i followed the indices and arrange images of different classes in in different subfolders with the indices,but i only get 2436 images...

from contrastive-clustering.

Yunfan-Li avatar Yunfan-Li commented on June 8, 2024

Each class contains 1300 images and thus there should be 19500 images in total.

from contrastive-clustering.

NWPU-Li avatar NWPU-Li commented on June 8, 2024

The datasets with 120 classes downloaded from http://vision.stanford.edu/aditya86/ImageNetDogs, now, I process this dataset according to the index, but per class only has more than 100.

from contrastive-clustering.

Yunfan-Li avatar Yunfan-Li commented on June 8, 2024

Perhaps you need to download the ImageNet dataset and select its 15 subclasses.

from contrastive-clustering.

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.