Open alanbernstein opened 6 years ago
You should use numpy==1.13.3 to avoid this problem
That seems to have worked. Should requirements.txt be updated?
downgrade to 1.13.3, but I got another error: RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb ImportError: numpy.core.multiarray failed to import
local_max = local_max.astype(np.float32)
eroded_background = eroded_background.astype(np.float32)
detected_peaks = local_max - eroded_background
detected_peaks = detected_peaks.astype(np.bool)
at fingerprint.py
maybe thats help
local_max = local_max.astype(np.float32) eroded_background = eroded_background.astype(np.float32) detected_peaks = local_max - eroded_background detected_peaks = detected_peaks.astype(np.bool)
at
fingerprint.py
maybe thats help
really helpful, thanks a lot dude
local_max = local_max.astype(np.float32) eroded_background = eroded_background.astype(np.float32) detected_peaks = local_max - eroded_background detected_peaks = detected_peaks.astype(np.bool)
at
fingerprint.py
maybe thats helpreally helpful, thanks a lot dude
but I got another error 'numpy.ndarray' object is not callable
at
fingerprint.py
maybe thats helpreally helpful, thanks a lot dude
but I got another error 'numpy.ndarray' object is not callable
Pretty sure you call the array (numpy version related)
change the arr2D(detected_peaks)
with arr2D[detected_peaks]
or could you take a look to @DataWookie's fork? https://github.com/DataWookie/dejavu
You should use numpy==1.13.3 to avoid this problem
This will solve it, no error.
local_max = local_max.astype(np.float32) eroded_background = eroded_background.astype(np.float32) detected_peaks = local_max - eroded_background detected_peaks = detected_peaks.astype(np.bool)
at
fingerprint.py
maybe thats help
Yes. That helped. Thanks a lot
You should use numpy==1.13.3 to avoid this problem
This will solve it, no error.
I tried this. But for some reason, I was unable to downgrade numpy. Winpython was throwing lot of errors
I'm trying to use dejavu for the first time (just
djv.fingerprint_directory(audio_path, [".mp3"], 3)
), and it seems to fail on all files. I see output like this:The
Failed fingerprinting
and traceback repeat as long as I let the process go.