Skip to content

AttributeError, 'Tensor' object has no attribute 'append' #2

@William9Baker

Description

@William9Baker

您好,我遇到了这个错误,请问是什么原因造成的 ,谢谢~
loss.append(loss.item())
AttributeError: 'Tensor' object has no attribute 'append'

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