Code Monkey home page Code Monkey logo

Comments (4)

sandhawalia avatar sandhawalia commented on July 21, 2024 2

Hi Thanks for your question. The mean value is usually computed on the training set which was used to train the base (VGG) Model. In this case the mean value is computed over the entire ImageNet data-set which was used to train the VGG base model. Hence you don't have to change the mean pixel value if you train on your own dataset.

from holy-edge.

CangHaiQingYue avatar CangHaiQingYue commented on July 21, 2024 1

Thanks, I'd read the paper of VGG, and found the reason.
This op will speed up the convergence.

from holy-edge.

sandhawalia avatar sandhawalia commented on July 21, 2024

A good start to data processing is what we commonly refer to as normalised representations. One example of which would be whitening. Which sets dataset statistics to mean 0 and variance 1.0 . Here we use a simplified version of that and set to dataset statistics to mean 0.

tf.image.per_image_standardization() use per sample statistics to scale each image to mean 0 and variance 1. What we would like it to have mean 0 variance 1 over the whole dataset and not just each sample separately.

from holy-edge.

priyanka-chaudhary avatar priyanka-chaudhary commented on July 21, 2024

I have a question on the same topic. I am using my own dataset for this project I wanted to ask is the mean_pixel_value: [103.939, 116.779, 123.68] is specific to the BSDS dataset or can be used for any dataset?
Thank you.

from holy-edge.

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.