Update README.md
Browse files
README.md
CHANGED
|
@@ -51,7 +51,7 @@ class PEFTGuard_T5(nn.Module):
|
|
| 51 |
def __init__(self, device, target_number=3):
|
| 52 |
super(PEFTGuard_T5, self).__init__()
|
| 53 |
self.device = device
|
| 54 |
-
self.input_channel = (target_number
|
| 55 |
self.conv1 = nn.Conv2d(self.input_channel, 32, 8, 8, 0).to(self.device)
|
| 56 |
self.fc1 = nn.Linear(256 * 256 * 32, 512).to(self.device)
|
| 57 |
self.fc2 = nn.Linear(512, 128).to(self.device)
|
|
|
|
| 51 |
def __init__(self, device, target_number=3):
|
| 52 |
super(PEFTGuard_T5, self).__init__()
|
| 53 |
self.device = device
|
| 54 |
+
self.input_channel = (target_number) * 2 * 24
|
| 55 |
self.conv1 = nn.Conv2d(self.input_channel, 32, 8, 8, 0).to(self.device)
|
| 56 |
self.fc1 = nn.Linear(256 * 256 * 32, 512).to(self.device)
|
| 57 |
self.fc2 = nn.Linear(512, 128).to(self.device)
|