video-quality icon indicating copy to clipboard operation
video-quality copied to clipboard

Numpy array is ambiguous?

Open liuxj901103 opened this issue 5 years ago • 2 comments

The "if features == None:" in function niqe() should be "if features is None:".

liuxj901103 avatar Apr 03 '19 07:04 liuxj901103

I have met the same problem

H-Wenfeng avatar Apr 17 '19 13:04 H-Wenfeng

Hi! I have got the same issue... The error says-

In Line if features == None:

ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Could anyone pls help me out, Thanks !

Anaga352 avatar Oct 19 '20 06:10 Anaga352