Console corrupted -> corrupt (#6338)

* Console corrupted -> corrupt 

Minor style changes.

* Update export.py
This commit is contained in:
Glenn Jocher authored and GitHub committed 2022-01-18 10:49:26 -10:00
1 parent 3119b2f27c
commit fd55271c04
2 files changed
+4 -5

No files matched your search

+1 -2
View File
@@ -452,8 +452,7 @@ def run(data=ROOT / 'data/coco128.yaml', # 'dataset.yaml path'
assert not (tflite and tfjs), 'TFLite and TF.js models must be exported separately, please pass only one type.'
model, f = export_saved_model(model, im, file, dynamic, tf_nms=nms or agnostic_nms or tfjs,
agnostic_nms=agnostic_nms or tfjs, topk_per_class=topk_per_class,
topk_all=topk_all,
conf_thres=conf_thres, iou_thres=iou_thres) # keras model
topk_all=topk_all, conf_thres=conf_thres, iou_thres=iou_thres) # keras model
if pb or tfjs: # pb prerequisite to tfjs
f = export_pb(model, im, file)
if tflite or edgetpu: