Skip to content

在losses.py里 max_pos, armmax_pos = pos.max(0) RuntimeError: cannot perform reduction function max on tensor with no elements because the operation does not have an identity #23

@IsenLwww

Description

@IsenLwww

在losses.py里 max_pos, armmax_pos = pos.max(0)
RuntimeError: cannot perform reduction function max on tensor with no elements because the operation does not have an identity
刚开始以为是batch_size的问题,以为解决了,但是后续的Epoch还是会报错,到底是哪里的问题呢

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