dwango / neural_style_synthesizer

GNU General Public License v3.0
15 stars 1 forks source link

Mac only or also works in Windows? #2

Closed enzyme69 closed 8 years ago

enzyme69 commented 8 years ago

I manage to install and run all the dependencies in Mac, but does this synthesizer work in Windows as well?

enzyme69 commented 8 years ago

In Windows, I am getting weird install error from requirements and also this error message:

[py27] C:_PYTOOLS\neural_style_synthesizer-master> python bin/convert_image_mu lti.py --iteration=10 --gpu=-1 --xsplit=1 --ysplit=1 --resize=300 input.jpg styl e.jpg --output_image=./converted.png Namespace(average_pooling=False, content_image='input.jpg', content_weight=0.005 , debug=False, debug_span=100, gpu=-1, init_image='input.jpg', iteration=10, mod el='vgg', optimize=True, out_dir='output', output_image='./converted.png', rando m_init=False, resize=300, texture_image='style.jpg', xsplit=1, ysplit=1) C:\Users\Jimmy\Anaconda3\envs\py27\lib\site-packages\chainer\links\caffe\caffe_f unction.py:134: UserWarning: Skip the layer "prob", since CaffeFunction does not support it 'support it' % layer.name) ('H:', array([[ 21208218.]])) OpenOpt Error: incorrect solver is called, maybe the solver "cvxopt_qp" require its installation, check http://www.openopt.org/QP or try p._solve() for more det ails Traceback (most recent call last): File "bin/convert_image_multi.py", line 57, in optimize=args.optimize, random_init=args.random_init).save(args.output_image ) File "bin..\neural_art\image_converters\multi_reference_image_converter.py", line 34, in convert_debug self.texture_ratio = self.optimize_texture_feature(initial_feature) File "bin..\neural_art\image_converters\multi_reference_image_converter.py", line 82, in optimize_texture_feature r = p.solve("cvxopt_qp") File "C:\Users\Jimmy\Anaconda3\envs\py27\lib\site-packages\openopt\kernel\base Problem.py", line 278, in solve return runProbSolver(self, _args, *_kwargs) File "C:\Users\Jimmy\Anaconda3\envs\py27\lib\site-packages\openopt\kernel\runP robSolver.py", line 79, in runProbSolver p.solver = getSolverFromStringName(p, solver_str_or_instance) File "C:\Users\Jimmy\Anaconda3\envs\py27\lib\site-packages\openopt\kernel\nonO ptMisc.py", line 142, in getSolverFromStringName p.err('incorrect solver is called, maybe the solver "' + solver_str +'" requ ire its installation, check http://www.openopt.org/%s or try p.solve() for more details' % p.probType) File "C:\Users\Jimmy\Anaconda3\envs\py27\lib\site-packages\openopt\kernel\oolo gfcn.py", line 23, in ooerr raise OpenOptException(msg) oologfcn.OpenOptException: incorrect solver is called, maybe the solver "cvxopt qp" require its installation, check http://www.openopt.org/QP or try p._solve() for more details

enzyme69 commented 8 years ago

Basically my issue was cvxopt installation in Windows, under Anaconda environment. Fixed by using whl wheel): http://stackoverflow.com/questions/24289984/import-issue-for-cvxopt-on-windows