Skip to content

Commit

Permalink
Update RenderCUDA.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise committed May 12, 2024
1 parent 2d626f7 commit f45e8fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/torch/RenderCUDA.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,11 +375,11 @@ def __init__(
self.handleModel()

def handleModel(self):
if "cuda" in self.method and "ncnn" not in self.method:
if "cuda1" in self.method and "ncnn" not in self.method:
self.upscaleMethod = UpscaleCUDA(
self.originalWidth, self.originalHeight, self.model_path, self.half
)
if "tensorrt" in self.method and "ncnn" not in self.method:
if "cuda" in self.method and "ncnn" not in self.method:
self.upscaleMethod = UpscaleTensorRT(
width=self.originalWidth, height=self.originalHeight, modelPath=self.model_path, half=self.half
)
Expand Down

0 comments on commit f45e8fe

Please sign in to comment.