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

export the model into torchscript #617

Open
Zalways opened this issue Aug 5, 2023 · 0 comments
Open

export the model into torchscript #617

Zalways opened this issue Aug 5, 2023 · 0 comments

Comments

@Zalways
Copy link

Zalways commented Aug 5, 2023

Has anyone tried exporting a model to a C++ environment for inference? I have encountered some problems while dealing with this step and would like to receive your help.(the net is based deformable detr,)
I had some problems converting and exporting the model, but I finally got the model through the trace method, but there was a problem with this model.
RuntimeError: The size of tensor a (32) must match the size of tensor b (237) at non-singleton dimension 1
i need your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant