MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / main

Function main

samples/python/efficientdet/create_onnx.py:420–428  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

418
419
420def main(args):
421 effdet_gs = EfficientDetGraphSurgeon(args.saved_model)
422 if args.tf2onnx:
423 effdet_gs.save(args.tf2onnx)
424 effdet_gs.update_preprocessor(args.input_format, args.input_size, args.preprocessor)
425 effdet_gs.update_shapes()
426 effdet_gs.update_network()
427 effdet_gs.update_nms(args.nms_threshold, args.nms_detections)
428 effdet_gs.save(args.onnx)
429
430
431if __name__ == "__main__":

Callers 1

create_onnx.pyFile · 0.70

Calls 6

saveMethod · 0.95
update_preprocessorMethod · 0.95
update_shapesMethod · 0.95
update_networkMethod · 0.95
update_nmsMethod · 0.95

Tested by

no test coverage detected