Comments (5)
I would recommend to create an auxiliary script run-deepflow.sh <file1> <file2> <output>
. There you can write something like this:
<deepmatching_path>/deepmatching-static $1 $2 | <deepflow_path>/deepflow2-static $1 $2 $3 -match
(If you don't want to or can't use the static builds, then you have to remove the -static
suffix of course. But the static build should be sufficient in most cases.)
The you can just specify:
flowCommandLine="./run-deepflow.sh"
from artistic-videos.
@manuelruder @Sugarbank you can add -nt 0
to deepmatching-static $1 $2
to enable multithreading. By the way, is there a GPU version for DeepFlow ?
from artistic-videos.
There is no GPU version of DeepFlow.
If you want to speedup the process, you could compute the optical flow in parallel to the torch script. Then it's anyway beneficial to run it on CPU, because the torch script mainly runs on GPU.
Just call ".\makeOptFlow.sh ..." in a different process than "th artistic_video.sh ...".
from artistic-videos.
Hi,Sorry this is a bit newbie but...Where do I set the path to the optical flow utilities in the makeOptFlow.sh file?
it say "# Specify the path to the optical flow utility here."
Sorry for the stupid questions.
Date: Fri, 6 May 2016 09:19:27 -0700
From: [email protected]
To: [email protected]
CC: [email protected]; [email protected]
Subject: Re: [manuelruder/artistic-videos] Please open makeOptFlow.sh and specify the command line for computing the optical flow. (#4)
I would recommend to create an auxiliary script run-deepflow.sh . There you can write something like this:
<deepmatching_path>/deepmatching-static $1 $2 | <deepflow_path>/deepflow2-static $1 $2 $3 -match
(If you don't want to or can't use the static builds, then you have to remove the -static suffix of course.)
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
from artistic-videos.
@Sugarbank if you use the newest version of this script there is nothing you have to change any more. Just download and place deepflow and deepmatching in the same directory as the scripts, as said in the updated readme. In case you want to use your own algorithm, check out line 3 where it says flowCommandLine="..."
.
from artistic-videos.
Related Issues (20)
- write_png_file png_create_write_struct failed
- Issue with some frames crashing after 2 iterations HOT 1
- prevWarped Optical flow Grey
- Grey glitch on several frames
- style segmentation
- Gray Screen or Garbled Mess is rendered out HOT 3
- no video create only ppm files HOT 3
- how much time it takes to generate a simple video? HOT 2
- Flickering Background? HOT 4
- Seamless looping? HOT 2
- Thank you HOT 1
- Can't launch it...
- Just dreaming, and wondering...
- how to calculate the confidence map of optical flow,?
- "Killed" message
- Any success compiling this on collab? HOT 3
- Trying to build for Win10
- Processing without optical flow
- runs infinitely.. HOT 1
- Artisti
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from artistic-videos.