Spaces:
Sleeping
Sleeping
Update archs/model.py
Browse files- archs/model.py +1 -1
archs/model.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import torch
|
2 |
import torch.nn as nn
|
3 |
-
|
4 |
|
5 |
class AttentionBlock(nn.Module):
|
6 |
def __init__(self, in_channels, out_channels, kernel_size=3, padding=1):
|
|
|
1 |
import torch
|
2 |
import torch.nn as nn
|
3 |
+
import torch.nn.functional as F
|
4 |
|
5 |
class AttentionBlock(nn.Module):
|
6 |
def __init__(self, in_channels, out_channels, kernel_size=3, padding=1):
|