Closed lahiiru closed 6 years ago
Yes this is current Python (>= 3.6) string syntax
Thanks. Managed to fix using string.format()
@lahiiru
I am facing same problem , can you give me fix code snippet here ???
I can change this to Python<3.6 format tonight. Thanks
@scivision have you changed the code ???
@wrat
fn1 = "{0}.{1}{2}".format(stem,i,ext)
replace other lines also accordingly.
@lahiiru after changing this it's showing another error
File "LucasKanade.py", line 11, in
@wrat
Then replace pyoptflow/init.py", line 74 to
Vpt = np.linalg.inv(A.T.dot(W**2).dot(A)).dot(A.T).dot(W**2).dot(B)
This has been updated to version "1.1.0" which is Python >= 3.5 compatible
Above error appears when
python HornSchunck.py data/box/box
. Tested in Windows and Ubuntu, python 2.7