whyre788 / GAN-1D

using WGAN to generate fault bearing vibration signals
51 stars 17 forks source link

What is "GAN_1D"? #2

Open apaaumao opened 5 years ago

apaaumao commented 5 years ago

When I tried test.py, I got error massage that ”index error list index out of range” with "output = tf.get_collection("GAN_1D")[0]". What am I doing wrong? Do I need to "add_collection" something in advance? Thanks for helpful.

engineer1109 commented 5 years ago

It is a problem.

apaaumao commented 5 years ago

I solved the above problem. I think "add_collection(output)" is necessary.

However, I had another question. I can't understand code from line 174 to line 179 of train.py. I also feel the shape of the generator model is unnatural.Is not this code wgan-gp? Also, If I run the code as it is, the discriminator's loss takes a negative value. Thanks for helphul.

morganhope commented 4 years ago

I solved the above problem. I think "add_collection(output)" is necessary.

However, I had another question. I can't understand code from line 174 to line 179 of train.py. I also feel the shape of the generator model is unnatural.Is not this code wgan-gp? Also, If I run the code as it is, the discriminator's loss takes a negative value. Thanks for helphul.

Sorry,could you tell me how to add the collection?

zeyevv commented 2 years ago

I also want to know how to add the collection