Skip to content

Why can the model correctly predict empty occupancies? #122

Open
@lnSong

Description

@lnSong

Thank you for your work!
The code occ[..., 3][occ[..., 3] == 0] = 255 sets empty occupancies to 255,
and the loss criterion is defined as:
criterion = nn.CrossEntropyLoss(
ignore_index=255, reduction="mean"
)
Since the loss ignores the index 255, why is the model still able to correctly infer empty occupancies?

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