Git Product home page Git Product logo

Comments (4)

manuelruder avatar manuelruder commented on May 26, 2024

I don't really know much about the Windows subsystem for Linux, but you could try bash stylizeVideo_deepflow.sh .... The scripts were written with bash syntax,

from fast-artistic-videos.

Kronophage avatar Kronophage commented on May 26, 2024

Wow! Didn't expected an answer this fast!
However, I had already tried this, and it produce the same result.

The problem comes from the second variable that I give, the path_to_pretrained_model.

When I just enter bash stylizeVideo_deepflow.sh or bash stylizeVideo_deepflow.sh ./resources/input.mp4, your code remind me this :

Usage: ./stylizeVideo.sh <path_to_video> <path_to_pretrained_model>

It's only when I try the full command :

bash stylizeVideo_deepflow.sh ./resources/input.mp4 ./models/checkpoint-mosaic-video.t7

That I've the previous error :

stylizeVideo_deepflow.sh: ${filename//[%]/x}: bad substitution

I'm so sorry to bother you with unimportant stuff like that. Could you certify me that the syntaxe of my path to pretrained model is correct?

from fast-artistic-videos.

manuelruder avatar manuelruder commented on May 26, 2024

hmm, then bash in Windows subsystem for Linux may not support this syntax. I never had any problems with this on Ubuntu machines.
Note that you can always replace the argument parsing with hard coded values, i.e. filename=input and extension=mp4.
But given that it already fails on such an early stage in the script, there could be even more errors later and you could be better off by just installing Ubuntu as a second operating system.

from fast-artistic-videos.

Kronophage avatar Kronophage commented on May 26, 2024

Effectively, I have more bug when I enter values manually...
Many thanks for your patience :)

I don't understand why it's easy to find many resources to image style transfer on window, but it's just impossible to find a good model of video style transfer...

Anyway, I will try again later, when I will have Ubuntu.

Thanks again, friendly man!

from fast-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.