Blog

Learn About Our Meetup

5000+ Members

MEETUPS

LEARN, CONNECT, SHARE

Join our meetup, learn, connect, share, and get to know your Toronto AI community. 

JOB POSTINGS

INDEED POSTINGS

Browse through the latest deep learning, ai, machine learning postings from Indeed for the GTA.

CONTACT

CONNECT WITH US

Are you looking to sponsor space, be a speaker, or volunteer, feel free to give us a shout.

[D] CycleGAN implementation just learning identity mapping

[D] CycleGAN implementation just learning identity mapping

Hi, don’t know where else to ask but I just don’t know what else I could try out with my code.

I’m trying to reimplement CycleGAN in a Jupyter notbook and (for me) the code looks good, but somehow my generators just learn to map an input to itself (so what I put into it comes out at the other end). I’m testing my implementation with the horse2zebra dataset.

First and third row: input, second and fourth row: output

Learning curves for one generator and one discriminator

What’s odd is that the GAN loss is going up, which is probably why the generators don’t learn anything meaningful other than the identity mapping. I also got the feeling that my discriminators just learn to distinguish fake from real images, but nothing about horses or zebras.

Here’s a link to the notebook: https://github.com/kiwiwa/GANs-from-scratch/blob/master/cyclegan/cyclegan.ipynb

I would be so happy if somebody could give me a hint. The discriminator/generator architectures should be fine, probably the training process?

submitted by /u/nottodaymrdick
[link] [comments]

Next Meetup

 

Days
:
Hours
:
Minutes
:
Seconds

 

Plug yourself into AI and don't miss a beat

 


Toronto AI is a social and collaborative hub to unite AI innovators of Toronto and surrounding areas. We explore AI technologies in digital art and music, healthcare, marketing, fintech, vr, robotics and more. Toronto AI was founded by Dave MacDonald and Patrick O'Mara.