salu133445 / bmusegan

Code for “Convolutional Generative Adversarial Networks with Binary Neurons for Polyphonic Music Generation”

Home Page:https://salu133445.github.io/bmusegan/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KeyError: 'private'

AnthonyFang623 opened this issue · comments

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!