Skip to content

Commit

Permalink
whoops pt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise committed May 16, 2024
1 parent 1c267cc commit c7e822c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/torch/UpscaleImageTensorRT.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def pytorchExportToONNX(self): # Loads model via spandrel, and exports to onnx
input = torch.rand(1, 3, 256, 256)
if self.half:
model.half()
input.half()
input = input.half()
with torch.inference_mode():


Expand Down

0 comments on commit c7e822c

Please sign in to comment.