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 282 forks source link

module ‘roc’ has no attribute 'cal_metric' #27

Open aloha000 opened 5 years ago

aloha000 commented 5 years ago

main.py 的validate函数出现这个问题,我分别试过roc-0.3.2和roc-0.2.3都会出现这个问题,求怎么解决?

haiyang-tju commented 4 years ago

main.py 的validate函数出现这个问题,我分别试过roc-0.3.2和roc-0.2.3都会出现这个问题,求怎么解决?

https://github.com/gaohank/python-coding-proj/blob/410a014ffc77383c09c5f5a196e119d0f975ee4a/04_example/07_train_live_model/src/roc.py#L8