-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Auto get version info and git hash #55
Conversation
Codecov Report
@@ Coverage Diff @@
## master #55 +/- ##
==========================================
- Coverage 81.50% 81.38% -0.13%
==========================================
Files 71 72 +1
Lines 3158 3191 +33
Branches 493 500 +7
==========================================
+ Hits 2574 2597 +23
- Misses 496 504 +8
- Partials 88 90 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
We may bump version to 0.5.1 |
docs/install.md
Outdated
@@ -54,10 +54,9 @@ pip install -e . # or "python setup.py develop" | |||
|
|||
Note: | |||
|
|||
1. In `dev` mode, the git commit id will be written to the version number with step *d*, e.g. 0.5.0+c415a2e. The version will also be saved in trained models. | |||
It is recommended that you run step *d* each time you pull some updates from github. If C++/CUDA codes are modified, then this step is compulsory. | |||
1. The git commit id will be written to the version number with step *d*, e.g. 0.5.0+c415a2e. The version will also be saved in trained models. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is wrong. The version number does not contain the git hash.
@@ -0,0 +1,18 @@ | |||
# Copyright (c) Open-MMLab. All rights reserved. | |||
|
|||
__version__ = '0.5.1' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add changelog.
ping @xvjiarui |
* Auto get version info and git hash * bump 0.5.1 and update doc * fixed docs * Add change log
* Auto get version info and git hash * bump 0.5.1 and update doc * fixed docs * Add change log
[Resnet] Merge glide resnet into general resnet
Co-authored-by: lizz <363664470@qq.com>
Co-authored-by: lizz <innerlee@users.noreply.github.com>
No description provided.