X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=pysvrt.git;a=blobdiff_plain;f=cnn-svrt.py;h=1511e823dfe6f71458cc7ba541e51c932efd9794;hp=07c11b3e011d3ca9bc38dca6c0603d01d3b0a6e6;hb=33ce0facd62e208f04aec201d39e4ed3b989a830;hpb=cdcaa8361d43a497d50c2f3703f9f5b4be9c2298 diff --git a/cnn-svrt.py b/cnn-svrt.py index 07c11b3..1511e82 100755 --- a/cnn-svrt.py +++ b/cnn-svrt.py @@ -229,7 +229,7 @@ class DeepNet2(nn.Module): self.conv5 = nn.Conv2d(128, 128, kernel_size=3, padding=1) self.fc1 = nn.Linear(2048, 512) self.fc2 = nn.Linear(512, 512) - self.fc3 = nn.Linear(256, 2) + self.fc3 = nn.Linear(512, 2) def forward(self, x): x = self.conv1(x)