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
While trying to obtain the fisher vectors, I receive the following error:
Traceback (most recent call last):
File "C:\Users\dangz\Documents\Fotolog\Aesthetic\descriptor\descriptors_aesthetics.py", line 49, in <module>
fisher_vectors = fisherClass.get_fisher_vectors_from_folder(filename, 3)
File "C:\Users\dangz\Documents\Fotolog\Aesthetic\descriptor\aesthetics\fisher\fisher.py", line 58, in get_fisher_vectors_from_folder
max_shape = np.array([v.shape[0] for v in vectors]).max()
File "C:\Users\dangz\Anaconda3\lib\site-packages\numpy\core\_methods.py", line 26, in _amax
return umr_maximum(a, axis, None, out, keepdims)
ValueError: zero-size array to reduction operation maximum which has no identity
I have been able to trace back it back to this line in fisher.py: normals = [multivariate_normal(mean=means[k], cov=covariances[k]) for k in range(len(weights))]
It seems this returns nothing and doesn't execute the next lines of code.
The text was updated successfully, but these errors were encountered:
Hi,
While trying to obtain the fisher vectors, I receive the following error:
I have been able to trace back it back to this line in fisher.py:
normals = [multivariate_normal(mean=means[k], cov=covariances[k]) for k in range(len(weights))]
It seems this returns nothing and doesn't execute the next lines of code.
The text was updated successfully, but these errors were encountered: