We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: operands could not be broadcast together with shapes
The text was updated successfully, but these errors were encountered:
[root@master BlindWatermark]# python3 bwm.py -k 4399 2333 32 -ex -r out1.png -wm pic/wm1.png -ws 64 64 -o out_wm.png -s Namespace(block_shape=4, dwt_deep=1, embed=False, extract=True, key=[4399.0, 2333.0, 32.0], ori_img='out1.png', output='out_wm.png', show_ncc=True, wm='pic/wm1.png', wm_shape=['64', '64']) Traceback (most recent call last): File "bwm.py", line 61, in test_ncc(args.wm,args.output) File "/root/BlindWatermark/BlindWatermark/ncc.py", line 14, in test_ncc print(NCC(a[:,:,i],b[:,:,i])) File "/root/BlindWatermark/BlindWatermark/ncc.py", line 6, in NCC cross_mul_sum=((A-A.mean())*(B-B.mean())).sum() ValueError: operands could not be broadcast together with shapes (49,223) (64,64)
Sorry, something went wrong.
No branches or pull requests
ValueError: operands could not be broadcast together with shapes
The text was updated successfully, but these errors were encountered: