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

What should I do if I want more labels? #115

Open
brillint opened this issue Dec 22, 2023 · 1 comment
Open

What should I do if I want more labels? #115

brillint opened this issue Dec 22, 2023 · 1 comment

Comments

@brillint
Copy link

when I have 8 labels,it returns:
onnx.onnx_cpp2py_export.shape_inference.InferenceError: [ShapeInferenceError] (op_type:Transpose, node name: Transpose_309): [ShapeInferenceError] Inferred shape and existing shape differ in dimension 3: (128) vs (32)

@ybcc2015
Copy link

ybcc2015 commented Jan 26, 2024

You need to modify the shape of cls_preds , box_preds , dir_cls_preds according to the your grid size and number of categories, in the simplify_postprocess() func.

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

2 participants