GANs-in-Action / gans-in-action

Companion repository to GANs in Action: Deep learning with Generative Adversarial Networks
1.02k stars 422 forks source link

Chapter 9 Cycle GAN Colab Implementation Error #22

Closed shubhamksingh1 closed 2 years ago

shubhamksingh1 commented 2 years ago

After running the training code:

cycle_gan = CycleGAN() cycle_gan.train(epochs=100, batch_size=64, sample_interval=10) Receiving Below Error FileNotFound

shubhamksingh1 commented 2 years ago

Found a workaround! Need to add: os.makedirs('images/%s' % self.dataset_name, exist_ok=True) inside sample_images() function.