-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
where is the training code? #2
Comments
Agreed. How is it possible to train the generator model? |
@zdx3578 @gcr Hey guys, sorry for the late response. Please find the training code of the Noiseless PPGN-h attached (not so well documented): 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. Feel free to ask if you have questions. |
Hi, when i run your code:http://www.cs.uwyo.edu/~anguyen8/share/train_upconv_noiseless.tar.gz |
@gyingqiang : you could use this Caffe version of mine for the best compatibility: |
thank you very much |
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! |
@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 Thanks for any answering. |
@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). |
i see there only test code ,training config can open?
The text was updated successfully, but these errors were encountered: