CLI fire prep updates (#7229)
* CLI fire prep updates * revert unintentional TF export change
This commit is contained in:
1 parent
c3d5ac151e
commit
2c3221844b
8 files changed
+19
-10
No files matched your search
+1
-1
@@ -480,7 +480,7 @@ def parse_opt():
|
||||
parser.add_argument('--dynamic', action='store_true', help='dynamic batch size')
|
||||
opt = parser.parse_args()
|
||||
opt.imgsz *= 2 if len(opt.imgsz) == 1 else 1 # expand
|
||||
print_args(FILE.stem, opt)
|
||||
print_args(vars(opt))
|
||||
return opt
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -308,7 +308,7 @@ if __name__ == '__main__':
|
||||
parser.add_argument('--test', action='store_true', help='test all yolo*.yaml')
|
||||
opt = parser.parse_args()
|
||||
opt.cfg = check_yaml(opt.cfg) # check YAML
|
||||
print_args(FILE.stem, opt)
|
||||
print_args(vars(opt))
|
||||
device = select_device(opt.device)
|
||||
|
||||
# Create model
|
||||
|
||||
Reference in new issue
Block a user