Chaya
Chaya copied to clipboard
ImportError: numpy.core.multiarray failed to import
Recorded on 10th Feb 2022.
Error: RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
Fixing this error using pip3 install -U numpy breaks the brisque calculation with the following error:
ValueError: the input array must have size 3 along channel_axis
, got (834, 524)
**The steganography stuff works, but the analysis won't and the script will end with an error... ** f this numpy bs
To Fix:
Solution 1
For RuntimeError , replace old numpy with new one using pip3 install -U numpy
Solution 2
ValueError is a known bug in image-quality package: https://github.com/ocampor/image-quality/issues/41#issuecomment-1011477402 . Let's hope their merge happens fast.
Error fixed: Check out the new version here: https://github.com/BobEXP/ChayaV2
Thanks for feedback!