CSAILVision / CSAILVision/places365

Image Preprocessing: Question about Normalize mean and std values.

Open
#55 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.1k
Forks
538
PR merge metrics
No merged PRs in 30d

Description

In the source code `train_placesCNN.py`, can someone explain me how the values at
```
normalize = transforms.Normalize(mean=[0.485, 0.456, 0.406],
std=[0.229, 0.224, 0.225])

```
were obtained?

This values represent the mean and std RGB channel values for the whole Places 365 dataset?
They are the same values of ImageNet dataset provided by PyTorch.
This is correct or they should be the mean and std RGB channel values for Places dataset?

Thank you.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.