Comments (4)
Can you try the Adam optimizer and let me know if the same error happens?
from neural-style-tf.
@cysmith
It works using the adam optimizer
Im not sure why lbfg throws that error, Can anyone else replicate this error? i can use it successfully in other implemations, gpu memory shouldnt be the problem theres 11gb to use
Edit: Just kept an eye on gpu mem it goes up to 10gb right before it crashes so for some reason it is using an abnormally large amount of gpu probably memory more than 11gb
Adjusted the --max_size to 640 and tried with 320 aswell
Still gpu mem goes past 10gb
Using the latest cuda, cudnn, tensorflow 1.2.0, all that
Is anyone else getting this with lbfgs?
from neural-style-tf.
@cysmith It seems even the adam optimizer is using around 10gb! 😱
But works O_o
from neural-style-tf.
I also got similar error : AttributeError: module 'pandas.core.computation' has no attribute 'expressions'. Adding the traceback :
Traceback (most recent call last):
File "neural_style.py", line 858, in
main()
File "neural_style.py", line 855, in main
else: render_single_image()
File "neural_style.py", line 824, in render_single_image
stylize(content_img, style_imgs, init_img)
File "neural_style.py", line 583, in stylize
optimizer = get_optimizer(L_total)
File "neural_style.py", line 624, in get_optimizer
optimizer = tf.contrib.opt.ScipyOptimizerInterface(
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorflow/python/util/lazy_loader.py", line 53, in getattr
module = self._load()
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorflow/python/util/lazy_loader.py", line 42, in _load
module = importlib.import_module(self.name)
File "/home/ubuntu/anaconda3/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/init.py", line 31, in
from tensorflow.contrib import factorization
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/factorization/init.py", line 24, in
from tensorflow.contrib.factorization.python.ops.gmm import *
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/factorization/python/ops/gmm.py", line 27, in
from tensorflow.contrib.learn.python.learn.estimators import estimator
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/learn/init.py", line 88, in
from tensorflow.contrib.learn.python.learn import *
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/learn/python/init.py", line 23, in
from tensorflow.contrib.learn.python.learn import *
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/init.py", line 25, in
from tensorflow.contrib.learn.python.learn import estimators
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/estimators/init.py", line 297, in
from tensorflow.contrib.learn.python.learn.estimators.dnn import DNNClassifier
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/estimators/dnn.py", line 30, in
from tensorflow.contrib.learn.python.learn.estimators import dnn_linear_combined
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/estimators/dnn_linear_combined.py", line 31, in
from tensorflow.contrib.learn.python.learn.estimators import estimator
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 49, in
from tensorflow.contrib.learn.python.learn.learn_io import data_feeder
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/learn_io/init.py", line 21, in
from tensorflow.contrib.learn.python.learn.learn_io.dask_io import extract_dask_data
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/learn_io/dask_io.py", line 26, in
import dask.dataframe as dd
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/dask/dataframe/init.py", line 3, in
from .core import (DataFrame, Series, Index, _Frame, map_partitions,
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/dask/dataframe/core.py", line 40, in
pd.core.computation.expressions.set_use_numexpr(False)
AttributeError: module 'pandas.core.computation' has no attribute 'expressions'`
from neural-style-tf.
Related Issues (20)
- render_video() queries if the current frame == 1 instead of querying the arguments for the start_frame
- Issue running neuralstyle. Possibly issue with tensorflow PATH environment
- is it possible to store intermediate results? HOT 2
- Numeric instability on linux when using lbfgs, minimization does not converge.
- image quality issue and blurryness at edges of images in semantic segmentation HOT 2
- pool_layer
- Not supported with tensorflow 2+ HOT 8
- resume video styling HOT 8
- select GPU on multi GPU system
- Computing optical flow [CPU]. This will take a while... HOT 1
- could not load librart cudnn_ops_infer64_8.dll .error code 126 HOT 1
- I can't find how to use the weight settings? HOT 5
- Issues running on Windows 10: HOT 1
- Performance issue in neural_style.py (by P3) HOT 1
- How can I save iterations as images?
- Consistency checker makefile not found. HOT 2
- TF2 Migration, issue with L-BFGS-B HOT 1
- I, a wintard doesn't know how to use Bash // please help
- T
- did not work for cpu? HOT 1
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 neural-style-tf.