Comments (8)
@clairehe : it was one of the tricks we tried in the early days in order to condition this GAN on features. I did not help much though (so not reported in paper).
from ppgn.
Agreed. How is it possible to train the generator model?
from ppgn.
@zdx3578 @gcr Hey guys, sorry for the late response.
Please find the training code of the Noiseless PPGN-h attached (not so well documented):
http://www.cs.uwyo.edu/~anguyen8/share/train_upconv_noiseless.tar.gz
You'd have to replace a few symlinks (to lmdb datasets and encoder.caffemodel) with your own datasets and encoder networks (or you can take Caffe BVLC reference as we did in the paper).
Note that it takes ~12 days to fully train this net on ImageNet on a single TitanX using Caffe.
If I were to start this from scratch, I'd do it in Tensorflow now at least to harness the multi-gpu training functionality.
Feel free to ask if you have questions.
from ppgn.
Hi, when i run your code:http://www.cs.uwyo.edu/~anguyen8/share/train_upconv_noiseless.tar.gz
I get a error in Caffe layer's type,Eltwise.
It must have two blobs as inputs.but yours only have one,it doesn't seem to work.Can I remove this layer?
from ppgn.
@gyingqiang : you could use this Caffe version of mine for the best compatibility:
http://www.cs.uwyo.edu/~anguyen8/share/caffe_upconv.tar.gz
from ppgn.
thank you very much
from ppgn.
What line of code do i have to run to train? and how should i prepare my image set? like file size/name/folders any help would be appreciated!
from ppgn.
@anguyen8 hi may i ask about your insights on discriminator design?
# Push real images to D
D.net.blobs['data'].data[...] = img_real
D.net.blobs['label'].data[...] = np.zeros((batch_size,1,1,1), dtype='float32')
D.net.blobs['feat'].data[...] = feat_real
# Run D on the fake data
D.net.blobs['data'].data[...] = img_fake
D.net.blobs['label'].data[...] = np.ones((batch_size,1,1,1), dtype='float32')
D.net.blobs['feat'].data[...] = feat_real
why would we want feat_real
also as an input in this discriminator, instead of only feed it with real and fake images?
Thanks for any answering.
from ppgn.
Related Issues (13)
- Why do you select caffe to build the model? HOT 1
- AttributeError: 'NoneType' object has no attribute 'split' HOT 1
- Not getting good results while using my own Condition Network HOT 5
- I can't found "generator.caffemodel"in your share
- I can't found"generator.caffemodel" in your share HOT 3
- Embed layer error HOT 2
- Errors in running first example code HOT 3
- PPGN Dockerfile HOT 2
- Error with Ex. 5 Image Captioning HOT 23
- 'get_code' is not defined - when using init_file HOT 2
- Can't backpropagate to EmbedLayer input HOT 1
- How to get larger images from this experiment? 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 ppgn.