light-weight-face-anti-spoofing icon indicating copy to clipboard operation
light-weight-face-anti-spoofing copied to clipboard

hello i am getting error below

Open chetansy opened this issue 2 years ago • 1 comments

File "G:\Data Science\python\Cludstrats\OpenCV\real_vs_fake\light-weight-face-anti-spoofing-master\demo_tools\wrapers.py", line 43, in get_detectioons _, _, h, w = self.net.get_input_shape().shape AttributeError: 'list' object has no attribute 'shape'

chetansy avatar Nov 20 '22 07:11 chetansy

change the line to:

_, _, h, w = self.net.get_input_shape()

pourfard avatar Jan 14 '23 19:01 pourfard