Skip to content

运行实例分割,没有报错信息 #4653

@la667-j

Description

@la667-j

Checklist:

描述问题

没有报错信息,vscode debug没法生效,停不到指定的位置

复现

  1. 您是否已经正常运行我们提供的教程

  2. 您是否在教程的基础上修改代码内容?还请您提供运行的代码

from paddlex import create_model
model = create_model("Mask-RT-DETR-S",
model_dir=r"Checkpoints/Mask-RT-DETR-S")
output = model.predict("Assets/bus.jpg", batch_size=1)
print("推理结束")
for res in output:
res.print()
res.save_to_img("./output/")
res.save_to_json("./output/res.json")

  1. 您使用的数据集是?

  2. 请提供您出现的报错信息及相关log

环境

  1. 请提供您使用的PaddlePaddle和PaddleX的版本号
    paddlepaddle-gpu 2.6.2
    paddlex 3.3.3
  2. 请提供您使用的操作系统信息,如Linux/Windows/MacOS
    Windows
  3. 请问您使用的Python版本是?
    3.11
  4. 请问您使用的CUDA/cuDNN的版本号是?
    11.8

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions