Open sandhya9173 opened 4 years ago
hi I m added my data set can you please this code is low to high-resolution images code is their are not
Hey, I'll take a look this weekend. Hope it is not too long of a wait 👍
I think this problem is arrising due to this line: all_images = np.expand_dims(all_images, axis=3)
This Line is not needed.
what is utils.py file i Thought its generator discriminator train model but i m getting error in that please can you help me
from future import print_function, division
from keras.datasets import mnist
from keras.layers import Input, Dense, Reshape, Flatten, Dropout from keras.layers import BatchNormalization, Activation, ZeroPadding2D from keras.layers.advanced_activations import LeakyReLU from keras.layers.convolutional import UpSampling2D, Conv2D from keras.models import Sequential, Model from keras.optimizers import Adam from skimage.io import imread_collection import cv2 import matplotlib.pyplot as plt import random
import sys
import numpy as np
class GAN(): def init(self): self.img_rows = 28 self.img_cols = 28 self.channels = 1 self.img_shape = (self.img_rows, self.img_cols, self.channels) self.latent_dim = 100
if name == 'main': gan = GAN() gan.train(epochs=30000, batch_size=32, sample_interval=200)