salu133445 / bmusegan

Code for “Convolutional Generative Adversarial Networks with Binary Neurons for Polyphonic Music Generation”
https://salu133445.github.io/bmusegan/
MIT License
58 stars 13 forks source link

KeyError: 'private' #9

Open AnthonyFang623 opened 3 years ago

AnthonyFang623 commented 3 years ago

Traceback (most recent call last): File "main.py", line 61, in train_end2end() File "main.py", line 52, in train_end2end end2end_gan = End2EndGAN(sess, MODEL_CONFIG) File "/mnt/d/Constantine/BinaryMuseGAN/musegan/bmusegan/models.py", line 629, in init self.build() File "/mnt/d/Constantine/BinaryMuseGAN/musegan/bmusegan/models.py", line 651, in build slope_tensor=self.slope_tensor, name='G') File "/mnt/d/Constantine/BinaryMuseGAN/musegan/bmusegan/components.py", line 199, in init self.tensor_out, self.nets, self.preactivated = self.build(config) File "/mnt/d/Constantine/BinaryMuseGAN/musegan/bmusegan/components.py", line 241, in build return (tf.compat.v1.concat([nn.tensor_out for nn in nets['private']], -1), nets, KeyError: 'private'

Hi sir, I had this bug when I try to run this code, could you help with this bug please? Thank you!