mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 08:37:06 +08:00
Fix wrong api in fastdeploy model
This commit is contained in:
@@ -53,8 +53,6 @@ config_file = os.path.join(model_dir, "infer_cfg.yml")
|
|||||||
runtime_option = build_option(args)
|
runtime_option = build_option(args)
|
||||||
model = fd.vision.detection.PPYOLOE(
|
model = fd.vision.detection.PPYOLOE(
|
||||||
model_file, params_file, config_file, runtime_option=runtime_option)
|
model_file, params_file, config_file, runtime_option=runtime_option)
|
||||||
print(model._model.input_info_of_runtime(0))
|
|
||||||
print(model._model.output_info_of_runtime(0))
|
|
||||||
|
|
||||||
# 预测图片检测结果
|
# 预测图片检测结果
|
||||||
if args.image is None:
|
if args.image is None:
|
||||||
|
Reference in New Issue
Block a user