Skip to content

error in cubic_bezier_curve_segment when increasing order. #184

@stillbetter

Description

@stillbetter

你好,非常感谢分享代码。我遇到这样一个问题,我自己生成了12阶贝塞尔锚点的json文件,并且在修改order变量,num_regression_parameters=26之后开始训练,但是代码报错在cubic_bezier_curve_segment中,报错如下

pytorch-auto-drive/utils/curve_utils.py", line 254, in cubic_bezier_curve_segment
res = transform_matrix.matmul(control_points.permute(0, 2, 1).unsqueeze(-1))  # B x 2 x 4 x 1
RuntimeError: Expected size for first two dimensions of batch2 tensor to be: [18, 4] but got: [18, 13].

请问cubic_bezier_curve_segment只能支持3阶对么?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions