Comments (4)
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.
Thanks, I'd read the paper of VGG, and found the reason.
This op will speed up the convergence.
from holy-edge.
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.
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)
- About Loss Function HOT 1
- cannot clone pre-trained model file HOT 3
- Wrong loss function HOT 2
- Dimension Mismatch HOT 2
- Training does not converge HOT 3
- Error setting up VGG-16 model, Failed to interpret file '/home/xxx/holy-edge/hed/models/vgg16.npy' as a pickle HOT 3
- test error
- This repository is over its data quota. Purchase more data packs to restore access HOT 2
- Could anyone can provide a pretrained model in google drive or baiduyun? HOT 2
- a question about weight decay?
- why the loss changes a little like the picture bllow
- Does anyone have problems with Permission denied when running code with gpu?
- This backport is for Python 2.7 only HOT 1
- How to use the output model with Tensorflow lite for Mobile HOT 1
- Does the optimizer work when the loss is not a tensor?
- Is it true that you didn't train the parameters of VGG16? HOT 2
- How to test and output my own single image using the pretrained model
- Checkpoint can't be downloaded due to data limit reached on git lfs HOT 3
- Reupload the pretrained model?
- Requirements list Tensorflow 2, but code is in Tensorflow 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from holy-edge.