Skip to content

The dimension here is strange. #33

@Easonyesheng

Description

@Easonyesheng

here

x_t_d = torch.clip(x_t[..., :3], min=-1 * clip_bounds_m, max=clip_bounds_m)
x_t_m = torch.clip(x_t[..., 3:], min=-1 * clip_bounds_d, max=clip_bounds_d)
x_t = torch.cat((x_t_d, x_t_m), dim=-1)

Why clip on the last dimension, rather than the third dimension, as the x_t is B x N x C x H x W.

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