Giter Club home page Giter Club logo

Comments (3)

btgraham avatar btgraham commented on August 23, 2024

Is the problem that the training accuracy goes up to 100%, but that it does not generalize to the test set?
LeViT was created with ImageNet in mind, and the statistics of ImageNet images are quite different to GTSRB images.
Also, the data augmentation (no crop augmentation, etc) might be ok for ConvNets, but suboptimal for ViT models.

from levit.

thaihoangminhtam avatar thaihoangminhtam commented on August 23, 2024

Hi,

Thank you for your reply, I have tried to adjust the training hyperparameters and data augmentation. The LeVit_128S now can achieve 30% accuracy - 346FPS, and LeViT_192 60% accuracy - FPS 277. While the MobileNetV3 Large can achieve 98.37%-355FPS, GhostNet 1.0 97.26%-275FPS. I use the same training and testing method for 3 models but the LeVit models do not fit my method and I really want to improve. That's why I contact you, I would love to see your model working as expected. :( The benchmark illustrates your LeViT_128s have higher accuracy and speed than both MobileNet and GhostNet. I'm looking forward to your advice.
I wonder whether my training method is correct: I download the Pytorch model of MobileNetV3, GhostNet, and your LeVit then load it with config (large for MobileNetV3, width = 1.0 for GhostNet, default for LeVit_128S/192), and num_classes = 43 for all 3 models. Then I use the training source as above. After that, I save the model and then load it in another script for testing.
Screenshot from 2022-11-04 18-09-48
(https://colab.research.google.com/drive/1yPpAtsibYw8jkzOarLBhdXnWvJR0Uqlo?usp=sharing#scrollTo=r377ZaaKKImT)

from levit.

btgraham avatar btgraham commented on August 23, 2024

Sorry, but I don't know enough about GTSRB to help.

from levit.

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.