neural-style-tf
neural-style-tf copied to clipboard
Videoprocessing: "Exec format error" deepflow & deepmatching
Hi Cameron
thank you very much for the repo. Very much appreciated!
While trying to style videos I get these errors:
run-deepflow.sh: line 10: ./deepmatching-static: cannot execute binary file: Exec format error run-deepflow.sh: line 10: ./deepflow2-static: cannot execute binary file: Exec format error run-deepflow.sh: line 10: ./deepmatching-static: cannot execute binary file: Exec format error run-deepflow.sh: line 10: ./deepflow2-static: cannot execute binary file: Exec format error make-opt-flow.sh: line 51: ./consistencyChecker/consistencyChecker: cannot execute binary file: Exec > format error make-opt-flow.sh: line 52: ./consistencyChecker/consistencyChecker: cannot execute binary file: Exec format error run-deepflow.sh: line 10: ./deepmatching-static: cannot execute binary file: Exec format error
I can process images without any problems and I am running your code on Windows 10 (x64) in an Anaconda environment with Python 3.5. I assume that the deepflow/deepmatching libs cannot run properly but couldn´t find any solution on SO or in past issues on your repo.
Any idea how to fix this?
Thank you very much in advance for any hint in the right direction.
Reviving this post, is there any insight for this? Running the same setup, Windows 10 (1709), Python 3.5, getting the following error when I try to calculate the optical flow for a set of ppm video frames:
.\make-opt-flow.sh: line 52: ./consistencyChecker/consistencyChecker: cannot execute binary file: Exec format error run-deepflow.sh: line 10: ./deepmatching-static: cannot execute binary file: Exec format error
Yup, same problem
The binary worked for me on Linux, but not on Windows. So as far as I can tell, it is a binary compiled for Linux. So you have to recompile if you use on windows.
https://thoth.inrialpes.fr/src/deepflow/ source code is here.
I admittedly haven't tried this as a fix, but with the information I have, I don't see any other possibilities.
@NerveCoordinator is right. It is compiled for Linux. If you want to use it on Windows you can try to compile yourself. The files are here: https://github.com/manuelruder/artistic-videos/tree/master/consistencyChecker