-
Notifications
You must be signed in to change notification settings - Fork 9.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
Fix floordiv warning. #8717
Closed
Closed
Fix floordiv warning. #8717
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@BIGWangYuDong Some tests fail on circleci, but it doesn't seem to have anything to do with my changes .Do I need to make further modifications? |
* rename config * rename config * rename config * rename config * rename config * rename config * rename config * update * update * update * recover config * update * update * update * recover * update * update * update * update * update * update * update * pretrain -> pre * update * update * update * update * update
* repair config content * update * replace metafile Name * update tests
* [Feature] Add BaseDetDataset * minor fix * minor fix * Update two_stage.py * [Docs] update get-started and faq document (#8593) * [Docs] update get-started and faq document * minor fix * minor fix * minor fix * [Fix] Fix UT and remove delete mmcv ops. (#8623) * Remove get_root_logger * Fix UT * Update * [Refactor] refactor dataflow and sync the latest mmengine (#8620) * refactor dataflow * fix docstr * fix commit * fix commit * fix visualizer hook * fix UT * fix UT * fix UT error * fix bug * update to mmengine main * update typehint * replace data preprocess output type to dict * update * fix typehint * minor fix Co-authored-by: jbwang1997 <[email protected]> Co-authored-by: Haian Huang(深度眸) <[email protected]>
* update config * update config
* refactor dataflow * fix docstr * fix commit * fix commit * fix visualizer hook * fix UT * fix UT * fix UT error * fix bug * Refactor semi data flow * update to mmengine main * update typehint * replace data preprocess output type to dict * update * fix typehint * Refactor MultiBranchDataPreprocessor again * Add some docstring * Add some examples * Fix some commits * fix some commits Co-authored-by: huanghaian <[email protected]>
…s, customize_runtime (#8518) * update docs: new_data_model * update docs: exist_data_new_model * update docs:customize_models * fix conflict * update doc for hook section * update grammar * update docs * update example * update link * add comments * update link and comments * update * update config name * update chinesenew_data_model.md * fix typo * update config name * update chinese exist_data_new_model.md * update config name * update chinese customize_models.md * add chinese customize_runtime.md * updaye customize_runtime * update format * update format
…log_v2.x.md,api.rst (#8637) * update how_to.md * update 1_exist_data_model.md * useful_tools.md * update api.rst * update * update root * update * update * master -> dev-3.x * update * update * update api.rst
* fcos as rpn * update config * add docs: custmize_rpn.md * update config * update * Delete faster_rcnn_r50_fpn_fcos-rpn_1x_coco.py * slowly increase lr * update num_classes * update docs * update backbone * fix grammar * update grammar * update grammar * add comments * update grammar * update link * update comments
* ssod tutorial * Fix some commits * Rename config name * Fix some commits * Fix some commits * Temporary format * fix some commits * add - * add - * Add some examples * Fix some commits * Add a doc * Delete some files
* [Refactor] Refactor doc structures. * update docs * refactor docs * fix filename * refactor cn docs * update cn api doc * update * update * rebase update
* Fix config.md * Fix the rest
…_to (#8678) * update * update how-to
* update 3.x readme * update * update * update * update * update
* [Docs] Update English and Chinese get_started and FAQ * minor fix * fix mmengine max version * minor fix
* [Doc]: add change logs of MMDet 3.x * resolve comments * resolve comments * update * complete changelog * fix typo * rephrase * rephrase
* add deploy * update
* [Doc]: add change logs of MMDet 3.x * resolve comments * resolve comments * update * complete changelog * fix typo * rephrase * rephrase * rephrase openmmlab 2.x to openmmlab 2.0 * rephrase * update docs * delete docs * fix typo
* fix typos * fix typos
* fix test requirements * try CI with mmtracking * restore circle CI settings
* Update * Update * force reinstall pycocotools * Fix build_cuda * docker install git * Update * comment other job to speedup process * update * uncomment * Update * Update * Add comments for --force-reinstall
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
In SOLO code, floordiv is deprecated, and its behavior will change in a future version of pytorch.
Modification
torch.div(a, b, rounding_mode='trunc') is used to replace floordiv.