[Dclib-devel] [dclib-devel] Implementing a GAN with dlib
Brought to you by:
davisking
From: Eloi Du B. <elo...@gm...> - 2017-10-21 18:49:31
|
Hi, I would like some advise on how to implement a Generative Adversial Network with dlib. I read a lot about this network, and from what I see, I think I need to make one network containing the Generator and the Discriminator in one net, concatenated. Noise -> G -> output sample -> D -> [true, fake] The thing where I'm stuck on is , when using dlib, how can I do a separate training on both subnets? How do I extract the output generated sample in the middle of both? What loss function do you think I need? I was thinking of loss_binary_log. Or maybe I'm misunderstanding the principle. Do you have any code example that someone did with dlib? Many thanks for any answer, Bests, Eloi |