thank you for your response but i have got another problem.
–> 204                 merged = self.merge_images(mnist.cpu().numpy(), fake_svhn.cpu().numpy())
205                 path = os.path.join(self.sample_path, ‘sample-%d-m-s.png’ %(step+1))
206                 scipy.misc.imsave(path, merged)
AttributeError: ‘numpy.ndarray’ object has no attribute ‘cpu’
i changed input image to .cpu().numpy() but it still doesn’t work.
do you know how to solve this???