We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90359ff commit 76f9660Copy full SHA for 76f9660
GAN/WGAN/training.py
@@ -5,7 +5,7 @@
5
from torchvision.transforms import transforms
6
from torchvision.datasets import MNIST
7
from torch.utils.data import DataLoader
8
-from model import Discriminator, Faker
+from model import Critic, Faker
9
from torch.utils.tensorboard import SummaryWriter
10
from pathlib import Path
11
import math
@@ -66,8 +66,8 @@ def training(opt):
66
67
# ~~~~~~~~~~~~~~~~~~~ loading the model ~~~~~~~~~~~~~~~~~~~ #
68
69
- critic = Discriminator(img_channels=CHANNELS,
70
- feature_d=FEATURE_D).to(work_device)
+ critic = Critic(img_channels=CHANNELS,
+ feature_d=FEATURE_D).to(work_device)
71
gen = Faker(Z_DIM, CHANNELS, FEATURE_D).to(work_device)
72
73
if opt.resume:
0 commit comments