-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
How to train the Discriminator by realData_result.detach().numpy?
fakeData_result=D(fakeData_ZP,useInfo_batch)
realData_result=D(realData,useInfo_batch)
d_loss = -np.mean(np.log(realData_result.detach().numpy()+10e-5) +
np.log(1. - fakeData_result.detach().numpy()+10e-5)) + 0*regularization(fakeData_ZP,realData_zp)
Metadata
Metadata
Assignees
Labels
No labels