Giter Site home page Giter Site logo

Comments (5)

linghai06 avatar linghai06 commented on May 28, 2024

To be more concrete, modified codes and training scripts are attached as follows:

image

self.train, self.valid = self.train[:4], self.valid[:4]

is added in datasets/mpii.py to select only 4 images

And here is the scripts

image

from pytorch-pose.

bearpaw avatar bearpaw commented on May 28, 2024

I think 4 images are not sufficient to train a pose estimator.

from pytorch-pose.

linghai06 avatar linghai06 commented on May 28, 2024

Well, literally it is not training in normal sense but testing if the gradient flow could drive the network to memorize such a simple setting. If not, then probably there are some issues with the network design or the optimizer or anything else. I think it is a verification procedure before any further step.

There is a similar discussion on reddit: https://www.reddit.com/r/MachineLearning/comments/5pidk2/d_is_overfitting_on_a_very_small_data_set_a/

from pytorch-pose.

bearpaw avatar bearpaw commented on May 28, 2024

Interesting. What is the batchsize you used during training and testing? It is possible that the BN is not trained properly.

from pytorch-pose.

linghai06 avatar linghai06 commented on May 28, 2024

Only 4 images were used and the batch-size was set to 4. Currently I only pay attention to the training loss for this 4 images and surprisingly found that it dropped slower than using full mpii and also stopped at a plateau higher.

Why should that be from the BN layers? Actually I also tried a small set with 500 images and the results were more or less the same with that from the set of 4 images. This might indicate it is not from the BN.

from pytorch-pose.

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.