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

added return_single #92

Open Katerina5649 opened 3 years ago

Katerina5649 commented 3 years ago

If isinstance(topk, int) is False, then in return you will catch : UnboundLocalError: local variable 'return_single' referenced before assignment