Comments (5)
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.
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.
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.
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.
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)
- GPU Load 5% avg HOT 3
- Some about implementation HOT 2
- Issue about Loss function HOT 1
- Why do backpropagation for original VGG net? HOT 1
- i try to use it, but not working
- The program stops at "successfully loaded images" HOT 7
- training script
- where the parameter ‘n_iter’ affects in the minimize() function
- style doesn't tranformed successfully but only content HOT 1
- Add description for OpenCL, works well as replacement for CUDA HOT 2
- Check failed ! HOT 1
- why net to flatten img0? HOT 1
- CPU only? HOT 4
- Support for multiple style images HOT 1
- Model.ckpt
- On Windows, minimisation fails
- style.py: AttributeError: 'module' object has no attribute 'set_device' HOT 3
- Some way to set the standard output to lossless .png? HOT 1
- No module named 'caffe' HOT 2
- Segmentation fault
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from style-transfer.