SoftwareGift / FeatherNets_Face-Anti-spoofing-Attack-Detection-Challenge-CVPR2019

Code for 3rd Place Solution in Face Anti-spoofing Attack Detection Challenge @ CVPR2019,model only 0.35M!!! 1.88ms(CPU)
Other
928 stars 284 forks source link

请问RGB图像如何训练了,谢谢 #77

Open Galaxy-yyyyy opened 4 years ago

SoftwareGift commented 4 years ago

RGB训练只需要改一下输入的dataloader就好了呀,注意一下最终输入的图片是RGB,还是BGR,进而确定在线上测试的时候是否需要进行通道转换。 @yuanlisha depth = dept.converted('RGB‘) 这里输入是或许已经是RGB格式了,不一定需要这个格式转换。

Galaxy-yyyyy commented 4 years ago

@SoftwareGift 谢谢大佬