Skip to content

Bug #5

@massyzs

Description

@massyzs

line90:
loss_obj = cls_criterion(logits.unsqueeze(0), gt_obj).squeeze().mean()

It seems that the first dimension of logits is 256, and the first dimension of gt_obj is 3.

Exception has occurred: ValueError
Expected input batch_size (1) to match target batch_size (3).
File "style-splat/train.py", line 90, in training
loss_obj = cls_criterion(logits.unsqueeze(0), gt_obj).squeeze().mean()
ValueError: Expected input batch_size (1) to match target batch_size (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