Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mmdetection maskrcnn to deepstream, 如何支持在deepstream获取mask #118

Open
pangchao-git opened this issue May 30, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@pangchao-git
Copy link

1 模型转化时候这样修改了Infrence.py
trt_model = mmdet2trt(cfg_path, args.checkpoint, output_names=["num_detections", "boxes", "scores", "classes","masks"], fp16_mode=args.fp16, device=args.device,enable_mask=True)
torch.save(trt_model.state_dict(), args.save_path)
2 deepstream 的配置文件

output-bbox-name=bbox
output-blob-names=num_detections;boxes;scores;classes;masks
parse-bbox-func-name=NvDsInferParseMmdet

custom-lib-path=nvdsinfer_custom_impl_fasterRCNN/libamirstan_plugin.so

@pangchao-git pangchao-git added the bug Something isn't working label May 30, 2022
@pangchao-git pangchao-git changed the title mmdetection masklrcnn to deepstream, 如何支持在deepstream获取mask mmdetection maskrcnn to deepstream, 如何支持在deepstream获取mask May 30, 2022
@grimoire
Copy link
Owner

Not supported for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants