upload
Browse files
alignedthreeattn_model.py
CHANGED
|
@@ -10,7 +10,7 @@ import torch.nn.functional as F
|
|
| 10 |
|
| 11 |
# align_weights = torch.load("align_weights.pth")
|
| 12 |
from torch import nn
|
| 13 |
-
from
|
| 14 |
class ThreeAttnNodes(nn.Module):
|
| 15 |
def __init__(self, align_weights):
|
| 16 |
super().__init__()
|
|
|
|
| 10 |
|
| 11 |
# align_weights = torch.load("align_weights.pth")
|
| 12 |
from torch import nn
|
| 13 |
+
from alignedthreeattn_backbone import CLIPAttnNode, DiNOv2AttnNode, MAEAttnNode
|
| 14 |
class ThreeAttnNodes(nn.Module):
|
| 15 |
def __init__(self, align_weights):
|
| 16 |
super().__init__()
|