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

您好,关于预测shape报错的问题。 #157

Open
duochifanya opened this issue May 8, 2024 · 1 comment
Open

您好,关于预测shape报错的问题。 #157

duochifanya opened this issue May 8, 2024 · 1 comment

Comments

@duochifanya
Copy link

您好,关于预测shape报错的问题。

检查过多次,

关于model_path:
训练时的model_path = 'model_data/yolox_s.pth',
预测时的model_path = 我训练后logs里best_epoch_weights.pth

关于classes_path :
classes_path 训练时候 与 预测时候 一致。
classes_path = 'model_data/voc_classes.txt'

训练时的num_classes=1,

voc_classes.txt 是person

还是会报错shepe不一致情况,请问这是为什么呢?

image

@duochifanya
Copy link
Author

已解决

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

1 participant