Skip to content

Commit

Permalink
Update modules.py
Browse files Browse the repository at this point in the history
  • Loading branch information
OmerFarukAtli authored Nov 14, 2024
1 parent 300b7ca commit e21e4cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions models/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,9 +435,9 @@ def __init__(self, dim, d_state=16, d_conv=4, expand=2):
)

self.conv1d = nn.Conv2d(in_channels=512, out_channels=256, kernel_size=1)
self.spiral_eye = torch.tensor(np.load("../I2I-Mamba/models/spiral_eye.npy"), dtype=torch.float)
self.despiral_eye = torch.tensor(np.load("../I2I-Mamba/models/despiral_eye.npy"), dtype=torch.float)
self.despiral_r_eye = torch.tensor(np.load("../I2I-Mamba/models/despiral_r_eye.npy"), dtype=torch.float)
self.spiral_eye = torch.tensor(np.load("spiral_eye.npy"), dtype=torch.float)
self.despiral_eye = torch.tensor(np.load("despiral_eye.npy"), dtype=torch.float)
self.despiral_r_eye = torch.tensor(np.load("despiral_r_eye.npy"), dtype=torch.float)

def forward(self, x):

Expand Down

0 comments on commit e21e4cb

Please sign in to comment.