Algorithm 1 Adversarial Training Procedure |
Input: dataset and parameter
Output:
-
1:
for every epoch do
-
2:
Sample a minibatch from dataset
-
3:
Train using or in Equations (15) and (16)
-
4:
end for
-
5:
for every epoch do
-
6:
Sample a minibatch from dataset
-
7:
Train to minimize
-
8:
Train to minimize
-
9:
Train to minimize
-
10:
end for
|