OrangeC93
OrangeC93
难道不就是用 softmax regression 嘛 (which is used for multi-class classification problems)
@jindongwang It does not repeat. These two lines generate different random tensors. One is for training discriminator, the other is for training generator.
@SStarLib I think pytorch official tutorial is helpful and they recently release a book (free to download online): deep learning with pytorch. If you still have problem, you can ask...
The code works for me. You may need to check your code again.