Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问这是什么错误? #94

Open
zengweigit opened this issue Aug 8, 2024 · 2 comments
Open

请问这是什么错误? #94

zengweigit opened this issue Aug 8, 2024 · 2 comments

Comments

@zengweigit
Copy link

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.

@zengweigit
Copy link
Author

image

@IronmanVsThanos
Copy link

image

请问您解决了吗?我也是同样的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants