13o-bbr-bbq / machine_learning_security

Source code about machine learning and security.
1.96k stars 648 forks source link

error when running Generator #30

Open tristantian opened 5 years ago

tristantian commented 5 years ago

Hello, I am interested in auto-generated code. when I run generator.py, there is an error:

File "Generator\gan_main.py", line 324, in main lst_scripts.extend(self.train(target_sig_list))

File "\Generator\gan_main.py", line 141, in train d_loss = discriminator.train_on_batch(X, y) ValueError: Error when checking input: expected dense_8_input to have shape (10,) but got array with shape (5,) What should I do? Thank you. Best wishes, ~Tristan