Skip to content

Commit a9c29a0

Browse files
Boulaouaneyrwightman
authored andcommitted
add input_size & batch_size to onnx_export
1 parent 245ad4f commit a9c29a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

onnx_export.py

+2
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ def main():
9090
check_forward=args.check_forward,
9191
training=args.training,
9292
verbose=args.verbose,
93+
input_size=(3, args.img_size, args.img_size),
94+
batch_size=args.batch_size,
9395
)
9496

9597

0 commit comments

Comments
 (0)