Code Monkey home page Code Monkey logo

Comments (5)

enzyme69 avatar enzyme69 commented on August 22, 2024

I seems to have issue with memory.

[py27] C:\Users\Jimmy\style-transfer-master>python style.py -s C:\Users\Jimmy\s
yle-transfer-master\images\style\starry_night.jpg -c C:\Users\Jimmy\style-trans
er-master\images\content\nanjing.jpg -m VGG16 -g 0
style.py:main:13:19:38.180 -- Starting style transfer.
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0406 13:19:38.391417 23468 common.cpp:23] System entropy source not available,
using fallback algorithm to generate seed instead.
style.py:main:13:19:38.392 -- Running net on GPU 0.
style.py:main:13:19:38.447 -- Successfully loaded images.
style.py:main:13:19:40.099 -- Successfully loaded model VGG16.
F0406 13:19:45.972851 23468 syncedmem.cpp:51] Check failed: error == cudaSucces
(2 vs. 0) out of memory
*** Check failure stack trace: ***

Is there option to make the image smaller?

from style-transfer.

enzyme69 avatar enzyme69 commented on August 22, 2024

Still running out of memory with small image...

[py27] C:_PYTOOLS\chainer-master>python
Python 2.7.11 |Anaconda 2.5.0 (64-bit)| (default, Feb 16 2016, 09:58:36) [MSC v.
1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org

import sys, platform
platform.architecture()
('64bit', 'WindowsPE')
sys.maxint
2147483647

from style-transfer.

enzyme69 avatar enzyme69 commented on August 22, 2024

Apparently it's the error of RAM out of memory. Somewhat I can only process image under 400 pixels. Weird. Because I tried "deepdream-windows-cuda_v75_nocudnn" and can process big image up to 1280 x 720.

Any idea how to increase the GPU memory? Or can we make it somewhat so CPU and GPU are used together?

from style-transfer.

ttoinou avatar ttoinou commented on August 22, 2024

I also have this "entropy source" warning I don't know what it means.
And yes there is option to make the image smaller you can use --length x

from style-transfer.

ssdutHB avatar ssdutHB commented on August 22, 2024

That's it. The error information occurs when GPU runs out of memory. Trying to use image with low resolution can avoid this.

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