MCPcopy Create free account
hub / github.com/PaddlePaddle/PaddleYOLO / __init__

Method __init__

deploy/python/infer.py:84–120  ·  view source on GitHub ↗
(self,
                 model_dir,
                 device='CPU',
                 run_mode='paddle',
                 batch_size=1,
                 trt_min_shape=1,
                 trt_max_shape=1280,
                 trt_opt_shape=640,
                 trt_calib_mode=False,
                 cpu_threads=1,
                 enable_mkldnn=False,
                 enable_mkldnn_bfloat16=False,
                 output_dir='output',
                 threshold=0.5,
                 delete_shuffle_pass=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

set_configMethod · 0.95
TimerClass · 0.90
load_predictorFunction · 0.70

Tested by

no test coverage detected