Comments (9)
Sorry, I don't know your email address, mine is [email protected]
from diffusion-gan.
We merge the DCGAN/SNGAN into the stylegan2 framework for training. We found t-embedding doesn't influence much about the performance of DCGAN/SNGAN on CIFAR-10. If you want to add the t_embedding, in your case, following the way we did in stylegan2, the t-embedding is concatenated with the image feature after conv layers as follows,
out = self.model(img)
out = torch.cat((out.view(out.shape[0], -1), t_embedding), dim=1)
validity = self.adv_layer(out)
from diffusion-gan.
Oh I see.
Is self.adv_layer a binary linear classifier?
from diffusion-gan.
Yes, it is a MLP model but not a binary linear classifier. In our case, the discriminator output the logits while not the probability.
gen_logits = self.run_D(gen_img, gen_c, sync=False)
loss_Gmain = torch.nn.functional.softplus(-gen_logits) # -log(sigmoid(gen_logits))
If you are interested in playing around on DCGAN, you can send me an email. I will share with you the code for that. The code is not cleaned and mighe be a little messy, lol.
from diffusion-gan.
Thanks, I've sent you a an email to your @columbia.edu address
from diffusion-gan.
Sent.
from diffusion-gan.
can you share me a copy of the diffusion training code for DCGAN,
from diffusion-gan.
Sure!
from diffusion-gan.
Hey @Zhendong-Wang, could you please share the code of DCGAN, my email is [email protected].
Thanks in advance
from diffusion-gan.
Related Issues (20)
- No module named 'upfirdn2d_plugin' HOT 5
- AssertionError: Default process group is not initialized HOT 1
- RuntimeError: Both events must be recorded before calculating elapsed time. HOT 3
- ninja: build stopped: subcommand failed. HOT 5
- Error while running train.py HOT 3
- 'tuple' object is not callable HOT 1
- how to lower fid? HOT 2
- Use Diffusion-GAN in Other GAN Architecture HOT 2
- How to use Diffusion-GAN in GP-UNIT
- A tiny question in diffusion.py HOT 2
- FID discrepancy HOT 3
- Application HOT 1
- about the value of target HOT 1
- regarding the setting of the hyperparameter "ada_kimg" HOT 4
- grid_sampler_2d_backward() is missing value for argument 'output_mask'.
- How to modify discriminator to incorporate diffusion timestep t?
- Questions about adaptive diffusion. HOT 2
- About the dataset preprocessing HOT 1
- How to use in Our Model?
- Generation includes reverse process of Diffusion? HOT 3
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 diffusion-gan.