pfnet-research / chainer-gogh Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
For unknown reason, I cannot get the Chainer GPU to work, on Windows, py27. If I install chainer-master, then run the chainer-gogh, it keeps on crashing.
Can you share me your parameters of nin model?My result is really strange,I need a better one
hi@pfnet-research
Very good work!
I want to use this project,but I can read the readme in Japanese . Could you please give a simple english readme here?
Thank you very much!
cu_00095@gtx1080:/chainer-gogh$ time python chainer-gogh.py -m vgg_chainer -i /home/cu_00095/chainer-gogh/input/photo.png -s /home/cu_00095/chainer-gogh/style/q.png -o /home/cu_00095/chainer-gogh/result -g 0/chainer-gogh$ time python chainer-gogh.py -m vgg_chainer -i /home/cu_00095/chainer-gogh/input/photo.png -s /home/cu_00095/chainer-gogh/style/q.png -o /home/cu_00095/chainer-gogh/result -g 0
load model... vgg_chainer
Downloading from http://www.robots.ox.ac.uk/%7Evgg/software/very_deep/caffe/VGG_ILSVRC_16_layers.caffemodel...
Connection to proxy.chongdata.com closed by remote host.cu_00095@gtx1080:
load model... vgg_chainer
Downloading from http://www.robots.ox.ac.uk/%7Evgg/software/very_deep/caffe/VGG_ILSVRC_16_layers.caffemodel...
Connection to proxy.chongdata.com closed by remote host.
I try to use vgg_chainer
But Pre-trained model Always download failed?now . I have download the VGG_ILSVRC_16_layers.caffemodel to the chainer root directory;
How should I change the code to skip the connect(Downloading from http://www.robots) step?
It have spend me all days to deal with this..Thanks
The simplest solution might be to install older version 1.2.4.
https://github.com/chainer/chainer/releases
trying (on Python-3.4 64bit, windows 10):
python chainer-gogh.py -m nin -i cat.png -s style_0.png -o zzz -g -1
I get an error I don't know what to do about:
load model... nin_imagenet.caffemodel
Traceback (most recent call last):
File "chainer-gogh.py", line 196, in <module>
img_content,nw,nh = image_resize(args.orig_img, W)
File "chainer-gogh.py", line 50, in image_resize
gogh = np.asarray(gogh.resize((new_w,new_h)))[:,:,:3].transpose(2, 0, 1)[::-1].astype(np.float32)
File "python-3.4.4.amd64\lib\site-packages\PIL\Image.py", line 1554, in resize
return self.convert('RGBa').resize(size, resample).convert('RGBA')
File "python-3.4.4.amd64\lib\site-packages\PIL\Image.py", line 1556, in resize
return self._new(self.im.resize(size, resample))
TypeError: integer argument expected, got float
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.