Skip to content

KeyError: 'private' #9

Open
Open
@AnthonyFang623

Description

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!

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions