Skip to content

Compute mean and std only if training from scratch

  • Compute mean and std if there is no pre-trained model
  • Use pre-trained model's mean and std values when we fine-tune it