fixed problem in input generator regarding InfoGan