added activation for features
This commit is contained in:
@@ -30,9 +30,9 @@ class DepthEstimation(nn.Module):
|
||||
CNBlockConfig(9, None, 3),
|
||||
]
|
||||
|
||||
self.convnext = ConvNeXt(block_setting)
|
||||
self.convnext = ConvNeXt(block_setting, device=device)
|
||||
self.flatten = nn.Flatten()
|
||||
self.decoder = ConvNeXt(block_setting_reverse, reversed=True)
|
||||
self.decoder = ConvNeXt(block_setting_reverse, reversed=True, device=device)
|
||||
|
||||
|
||||
def forward(self, x: torch.Tensor) -> torch.Tensor:
|
||||
|
||||
Reference in New Issue
Block a user