AlfredXiangWu / LightCNN

A Light CNN for Deep Face Representation with Noisy Labels, TIFS 2018
https://arxiv.org/abs/1511.02683
MIT License
1.01k stars 166 forks source link

3通道图像如何直接使用预训练模型 #70

Closed cumthxy closed 3 years ago

AlfredXiangWu commented 3 years ago

将RGB图像转换成灰度图即可,使用方法可以参考: https://github.com/BradyFU/DVG/blob/0582f97608801e13e1f426f5cbc43a5bd41fe2b3/train_generator.py#L129