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

Modify yolox and model load #339

Merged
merged 3 commits into from
Mar 1, 2024
Merged

Conversation

zouxinyi0625
Copy link
Collaborator

Modify use of yolox config.
Support state_dict check for yolox.

err_msg_list = err_msg.split('\n')

for error_msg_info in err_msg_list:
if 'size mismatch' in error_msg_info and 'cls' not in error_msg_info:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

涉及单个模型定制化字段,不建议按照当前的方案。每个模型的字段可能都不相同,应该内聚在每单个模型中,不建议放在统一的通用接口。

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok,我们在文档 和gallery 内部显式 进行用户选择模型参数合理性判断。

@zouxinyi0625 zouxinyi0625 merged commit 5ba3057 into master Mar 1, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

3 participants