Skip to content

Commit

Permalink
resolve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
nnaakkaaii committed Jul 1, 2024
2 parents 741c9eb + 49ef9b1 commit 626d94d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hrdae/models/losses/perceptual.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def __init__(
if torch.cuda.is_available():
self.network.to("cuda:0")
self.network = nn.DataParallel(self.network)
self.network.eval()

def forward(self, input: Tensor, target: Tensor) -> Tensor:
b, t = input.size()[:2]
Expand Down

0 comments on commit 626d94d

Please sign in to comment.