Now, we will pass data to the model as follows:
- With this, our model is ready and we can begin to pass data through to generate synthetic images. In order to store these data objects, we will need to create a directory within our project folder. We create a directory to hold our real and fake images by using the following code:
image_directory <- "gan_images" dir.create(image_directory)
- After running this code, you will see a new folder in your main project folder with the name gan_images.