Giter Site home page Giter Site logo

Comments (5)

manuelruder avatar manuelruder commented on July 16, 2024

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.

 avatar commented on July 16, 2024

@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.

manuelruder avatar manuelruder commented on July 16, 2024

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.

CJHFUTURE avatar CJHFUTURE commented on July 16, 2024

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.

manuelruder avatar manuelruder commented on July 16, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.