File tree 2 files changed +4
-4
lines changed
lerobot/common/robot_devices/cameras
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -512,13 +512,13 @@ def __del__(self):
512
512
)
513
513
parser .add_argument (
514
514
"--width" ,
515
- type = str ,
515
+ type = int ,
516
516
default = 640 ,
517
517
help = "Set the width for all cameras. If not provided, use the default width of each camera." ,
518
518
)
519
519
parser .add_argument (
520
520
"--height" ,
521
- type = str ,
521
+ type = int ,
522
522
default = 480 ,
523
523
help = "Set the height for all cameras. If not provided, use the default height of each camera." ,
524
524
)
Original file line number Diff line number Diff line change @@ -492,13 +492,13 @@ def __del__(self):
492
492
)
493
493
parser .add_argument (
494
494
"--width" ,
495
- type = str ,
495
+ type = int ,
496
496
default = None ,
497
497
help = "Set the width for all cameras. If not provided, use the default width of each camera." ,
498
498
)
499
499
parser .add_argument (
500
500
"--height" ,
501
- type = str ,
501
+ type = int ,
502
502
default = None ,
503
503
help = "Set the height for all cameras. If not provided, use the default height of each camera." ,
504
504
)
You can’t perform that action at this time.
0 commit comments