How to train ReID model and convert to .onnx ?

See original GitHub issue

Hi @GeekAlexis , For the customs classes (person and car), training a Yolo model is very simple, but can you explain how to train ReID model? Can you please provide the link for the exact project you used to train the current DeepSort ReID model? Can we use the same project for training model for person car? I swapped the feature extractor in Deep SORT for a better ReID model, OSNet.. Do you mean you are using OSNet in place of DeepSort? Just a little bit confusion the OSNet is another tracker or some kind of implementation of DeepSort?

My goal is to track person and car. I know how to train Yolo model but the ReID step is not clear. Please explain when you have some spare time. Thanks.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
GeekAlexiscommented, Nov 6, 2020

You can do it within pytorch. Use torch.onnx.export

On Thu, Nov 5, 2020 at 10:19 PM Asad notifications@github.com wrote:

@GeekAlexis https://github.com/GeekAlexis I want to want to ask how did you convert OSNet ReID model to .onnx? I am planning to convert ResNet ReID model to .onnx and then try it for one class, if it can run then I will train ResNet for two classes.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/GeekAlexis/FastMOT/issues/22#issuecomment-722883639, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGNJO5UQIGH5KNEGLEX7YMTSOOIP5ANCNFSM4THHNEPA .

0reactions
MuhammadAsadJavedcommented, Nov 6, 2020

@GeekAlexis I want to ask how did you convert OSNet ReID model to .onnx? I am planning to convert ResNet ReID model to .onnx and then try it for one class, if it can run then I will train ResNet for two classes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Convert Transformers to ONNX with Hugging Face Optimum
To convert your Transformers model to ONNX you simply have to pass from_transformers=True to the from_pretrained() method and your model will be ...
Read more >
crash when converting onnx ReID model to tensorrt
Hi, when I was trying converting a ReID (person re-identification) model into tensorrt, it crashes when using onnx-tensorrt tool (GitHub ...
Read more >
Converting Models to #ONNX Format - YouTube
The first step to using #ONNXRuntime is converting your model to an ONNX Format. In this video we show you how to convert...
Read more >
yolo-v3-onnx — OpenVINO™ documentation — Version(latest)
Download a Model and Convert it into OpenVINO™ IR Format¶. You can download models and if necessary convert them into OpenVINO™ IR format...
Read more >
[Model Serving] Triển khai Machine Learning model lên ...
Giả sử, bạn thực hiện training model với keras - cũng là 1 framework deep ... như: tensorflow-onnx để convert .onnx sang dạng...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found