Skip to content

请问这是什么错误? #94

@zengweigit

Description

@zengweigit

Traceback (most recent call last): File "/opt/LPRNet_Pytorch/train_LPRNet.py", line 286, in <module> train() File "/opt/LPRNet_Pytorch/train_LPRNet.py", line 208, in train Greedy_Decode_Eval(lprnet, test_dataset, args) File "/opt/LPRNet_Pytorch/train_LPRNet.py", line 237, in Greedy_Decode_Eval targets = np.array([el.numpy() for el in targets]) ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (120,) + inhomogeneous part.

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