Giter Club home page Giter Club logo

Comments (10)

mydudechris avatar mydudechris commented on September 16, 2024

Running on digital ocean with a flexible sized droplet and my settings.json

{
"maxwidth": 500,
"layer": "inception_4c/output"
}

from clouddream.

mydudechris avatar mydudechris commented on September 16, 2024

Ok, started digging in the /tmp/ directory and found 2 images but when I look at the logs I get the following:

�[2K Error Code is 0 Just created outputs/./image-00061.jpg Deepdream ./image-00023.jpg 0 0 inception_4c/output (103, 182, 3) �[2K 0 1 inception_4c/output (103, 182, 3) �[2K 0 2 inception_4c/output (103, 182, 3) �[2K 0 3 inception_4c/output (103, 182, 3) �[2K 0 4 inception_4c/output (103, 182, 3) �[2K 0 5 inception_4c/output (103, 182, 3) �[2K 0 6 inception_4c/output (103, 182, 3) �[2K 0 7 inception_4c/output (103, 182, 3) �[2K 0 8 inception_4c/output (103, 182, 3) �[2K 0 9 inception_4c/output (103, 182, 3) �[2K 1 0 inception_4c/output (144, 255, 3) �[2K 1 1 inception_4c/output (144, 255, 3) �[2K 1 2 inception_4c/output (144, 255, 3) �[2K 1 3 inception_4c/output (144, 255, 3) �[2K 1 4 inception_4c/output (144, 255, 3) �[2K 1 5 inception_4c/output (144, 255, 3) �[2K 1 6 inception_4c/output (144, 255, 3) �[2K 1 7 inception_4c/output (144, 255, 3) �[2K 1 8 inception_4c/output (144, 255, 3) �[2K 1 9 inception_4c/output (144, 255, 3) �[2K 2 0 inception_4c/output (201, 357, 3) �[2K 2 1 inception_4c/output (201, 357, 3) �[2K 2 2 inception_4c/output (201, 357, 3) �[2K 2 3 inception_4c/output (201, 357, 3) �[2K 2 4 inception_4c/output (201, 357, 3) �[2K 2 5 inception_4c/output (201, 357, 3) �[2K 2 6 inception_4c/output (201, 357, 3) �[2K 2 7 inception_4c/output (201, 357, 3) �[2K 2 8 inception_4c/output (201, 357, 3) �[2K 2 9 inception_4c/output (201, 357, 3) �[2K 3 0 inception_4c/output (281, 500, 3) �[2K 3 1 inception_4c/output (281, 500, 3) �[2K 3 2 inception_4c/output (281, 500, 3) �[2K 3 3 inception_4c/output (281, 500, 3) �[2K 3 4 inception_4c/output (281, 500, 3) �[2K 3 5 inception_4c/output (281, 500, 3) �[2K 3 6 inception_4c/output (281, 500, 3) �[2K 3 7 inception_4c/output (281, 500, 3) �[2K 3 8 inception_4c/output (281, 500, 3) �[2K 3 9 inception_4c/output (281, 500, 3) �[2K Error Code is 0 Just created outputs/./image-00023.jpg Deepdream ./image-00027.jpg

What is Error Code 0?

It looks like images are being passed to tmp/images not output and from what I can tell youtube.sh copies output? Sorry, n00b here :)

http://cl.ly/image/190k332m2O0H

from clouddream.

quantombone avatar quantombone commented on September 16, 2024

Error Code 0 means there is no error.

How long are you waiting? It might take a few minutes to process one image.

from clouddream.

mydudechris avatar mydudechris commented on September 16, 2024

Yeah I think I'm probably just tired and impatient. sorry. After messing around a bit it looks like it's working. derp!

What would I change in the youtube.sh to export all frames?

from clouddream.

quantombone avatar quantombone commented on September 16, 2024

No worries. Without first running the demo in python mode, it's a big hard to tell how long these things should take.

If you want to export all frames in youtube.sh, consider replacing

ffmpeg -i /tmp/video.mp4 -r 1 -t 100 -f image2 /tmp/images/image-%05d.jpg

which uses -r 1 to extract one frame every second and -t 100 for the first 100 seconds

ffmpeg -i /tmp/video.mp4 -r 30 -f image2 /tmp/images/image-%05d.jpg

from clouddream.

mydudechris avatar mydudechris commented on September 16, 2024

Thanks @quantombone! I'll def share this when it's done.

from clouddream.

quantombone avatar quantombone commented on September 16, 2024

Takes a while to process: here are 30 frames turned into a gif:
guy2

from clouddream.

mydudechris avatar mydudechris commented on September 16, 2024

Which layer did you run with?

from clouddream.

quantombone avatar quantombone commented on September 16, 2024

My settings:
{
maxwidth: 800,
layer: "inception_3b/5x5"
}

And to make the animation I used this shell script:
https://gist.github.com/quantombone/472ee783dfbb39320f2e

from clouddream.

Zeesy avatar Zeesy commented on September 16, 2024

I've been having the same error messages when using ./youtube.sh. Replaced the line of code as recommended above, no dice. #33 mentions that it might be a droplet issue.

from clouddream.

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.