for-ai/CipherGAN

Exception: Unsupported type: <class 'numpy.int32'>

c1a1o1 opened this issue · 2 comments

File "D:/work/gan-pix2pix/CipherGAN-master/CipherGAN-master/data/data_generators/cipher_generator.py", line 276, in
cipher_generator()
File "D:/work/gan-pix2pix/CipherGAN-master/CipherGAN-master/data/data_generators/cipher_generator.py", line 270, in cipher_generator
FLAGS.num_shards)
File "D:\work\gan-pix2pix\CipherGAN-master\CipherGAN-master\data\data_generators\generator_utils.py", line 44, in generate_files
sequence_example = to_example(case)
File "D:\work\gan-pix2pix\CipherGAN-master\CipherGAN-master\data\data_generators\generator_utils.py", line 19, in to_example
raise Exception("Unsupported type: %s" % type(v[0]))
Exception: Unsupported type: <class 'numpy.int32'>

osama commented

I've pushed an update, please let me know if the issue persists.

Thanks very much!