You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if method=='whash-haar':
if (np.ceil(np.log2(hash_size)) != np.floor(np.log2(hash_size))):
logger.error('hash_size should be power of 2 (8, 16, 32, 64, ..., etc)')
return None
Default value for hash_size (None) is passed to np.log2(hash_size) when hash_size is not given.
The text was updated successfully, but these errors were encountered:
def compute_hash(self, method=None, hash_size=None, return_dict=False):
....
Default value for hash_size (None) is passed to np.log2(hash_size) when hash_size is not given.
The text was updated successfully, but these errors were encountered: