deepinsight / deepinsight/insightface

color mode in face parsing module

Open
#2,275 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
29.7k
Forks
6.1k
PR merge metrics
No merged PRs in 30d

Description

I notice that the normailize parameters "mean=[0.485, 0.456, 0.406],std=[0.229, 0.224, 0.225]" should be apply on PIL color mode (RGB).
While in 'dataset', i found that images are loaded with Opencv color model(BGR).
After i test both loading mode with pretrained weights, RGB mode performs as well as BGR mode.
So, which mode should i choose?

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.