Skip to content

Commit

Permalink
Height and width argument correction for random tensor creation
Browse files Browse the repository at this point in the history
  • Loading branch information
sovit-123 committed May 25, 2024
1 parent 1ea102f commit 8221971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion export.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def main(args):
model.eval()

# Input to the model
x = torch.randn(1, 3, args['width'], args['height'])
x = torch.randn(1, 3, args['height'], args['width'])

# Export the model
torch.onnx.export(
Expand Down

0 comments on commit 8221971

Please sign in to comment.