Code Monkey home page Code Monkey logo

Comments (4)

titu1994 avatar titu1994 commented on July 28, 2024

I was not able to understand what you mean. A source file is a code file (here, a python script). Each of the scripts in my repo is independent from the others, so you would only call one script.

If you meant multiple source images, then my repo doesn't support is currently. Sadly, since each image takes quite some time, I don't feel queuing multiple source images is optimal.

from neural-style-transfer.

lowtronik avatar lowtronik commented on July 28, 2024

I'm sorry if I was not specific.

I tried to run Network.py /path/to/ *.jpg , in order to process different pictures inside a folder (the frames of a video frame1, frame2, etc)

And i got a gpu ram error (i used a VM with 8gb )

btw, i have used various scripts that do style transfer and yours gives the best results with less hustle 👍

from neural-style-transfer.

titu1994 avatar titu1994 commented on July 28, 2024

I see. Sadly, my script does not support *.jpg format. As I said, it works on one image at a time, so you have to specify the path to a single image.

If you are on a linux environment, you can write a bash script to iterate through all of the image paths in a directory and call the script each time.

If you are on a windows environment, you could probably write a batch or powershell script to do the same, but it would be much more hassle than it is worth.

from neural-style-transfer.

lowtronik avatar lowtronik commented on July 28, 2024

Yes, I will try the bash script, I already had it on the to do list.

Btw, I have used it with jpg files again and again. No problems at all.

Also, how i can modify your script , to not save each iteration, just one file with the final iteration.

from neural-style-transfer.

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.