Skip to content

Commit

Permalink
cleaned up
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Kreitzer committed Jan 16, 2024
1 parent 2043271 commit db08032
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/video_upscaler/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ def upscale_video(input_path: Path, output_path: Path, scale: int = 4):
else:
device = torch.device('cpu')
print("Using CPU.")
#device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
#device = mps_device = torch.device("mps")
#device = torch.device('cuda' if torch.cuda.is_available() else ('mps' if torch.backends.mps.is_available() else 'cpu'))
upscaler = RealESRGAN(device, scale)
upscaler.load_weights('weights/RealESRGAN_x4.pth', download=True)

Expand Down

0 comments on commit db08032

Please sign in to comment.