GithubHelp home page GithubHelp logo

Comments (6)

DefangChen avatar DefangChen commented on July 17, 2024

Do you mean the default implementation in https://github.com/pytorch/vision/blob/main/torchvision/models/resnet.py ?
Actually, the torchvision implementation is designed for ImageNet dataset.
We follow the original implementation of ResNet paper and previous compared knowledge distillation methods to adopt different architectures for CIFAR and ImageNet.

from simkd.

antheva avatar antheva commented on July 17, 2024

Which KD method repository / implementation are you referring to exactly? I knew that the first layers of ResNet need to be changed for CIFAR100 but I didn't know the number of channels require an adjustment as well.

from simkd.

DefangChen avatar DefangChen commented on July 17, 2024

A typical implementation can be found at https://github.com/HobbitLong/RepDistiller.
In addition to the first layer, ResNet's default setting for CIFAR-100 changes the channel numbers based on Kaiming's cvpr paper.
I guess If you use the ImageNet architecture, it should also work fine. Keep in mind that we heavily use the Wide ResNet architecture to increase the channel numbers, such as ResNet-32x4.

from simkd.

antheva avatar antheva commented on July 17, 2024

Thank you for your quick and clear answers.
Just one more question: why didn't you extensively evaluate your method on ImageNet too? If I'm not wrong there's only a couple of experiments in the paper and supplementary materials.

from simkd.

DefangChen avatar DefangChen commented on July 17, 2024

The reason is simply the lack of adequate computational resources. At that time, I only have access to 4xA40 for a limited period of time. However, I strongly believe that thoroughly evaluating existing methods (reproducing and tuning them) on ImageNet is very valuable and can potentially lead to promising research ideas.

from simkd.

antheva avatar antheva commented on July 17, 2024

Thanks!

from simkd.

Related Issues (17)

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.