chrisdonahue / wavegan

WaveGAN: Learn to synthesize raw audio with generative adversarial networks
MIT License
1.33k stars 281 forks source link

the new Generation code #49

Closed shin777kk closed 5 years ago

shin777kk commented 5 years ago

Hi @chrisdonahue,

I used the v2 version of the trained model.

Follow the Generation program in Read me and find that there is an error.

The error content is "The name 'z:0' refers to a Tensor which does not exist. The operation, 'z', does not exist in the graph."

What do I need to modify in "z = graph.get_tensor_by_name('z:0')"?

Please tell me the answer, thank you.

chrisdonahue commented 5 years ago

Make sure you are loading the infer.meta MetaGraph from the training directory. There should be an operation called z in that Graph. Does this fix it?

shin777kk commented 5 years ago

thx