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

Fix a bug in tools/publish_model.py #3132

Merged
merged 1 commit into from
Jun 26, 2020

Conversation

XiaohangZhan
Copy link
Contributor

rstrip('.pth') removes all characters in {'.', 'p', 't', 'h'} at the right. For example, if out_file="imagenet.pth", then out_file.rstrip('.pth') is "imagene" where "t" is also removed.

@CLAassistant
Copy link

CLAassistant commented Jun 26, 2020

CLA assistant check
All committers have signed the CLA.

@hellock
Copy link
Member

hellock commented Jun 26, 2020

Thanks for the fix!

@hellock hellock merged commit 6e33af5 into open-mmlab:master Jun 26, 2020
mike112223 pushed a commit to mike112223/mmdetection that referenced this pull request Aug 25, 2020
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.

None yet

3 participants