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 floordiv warning. #8717

Closed
wants to merge 32 commits into from
Closed

Fix floordiv warning. #8717

wants to merge 32 commits into from

Conversation

JiayuXu0
Copy link
Contributor

@JiayuXu0 JiayuXu0 commented Sep 3, 2022

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.

@JiayuXu0
Copy link
Contributor Author

JiayuXu0 commented Sep 3, 2022

@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?

@ZwwWayne
Copy link
Collaborator

ZwwWayne commented Sep 5, 2022

Hi @JiayuXu0 ,
Thanks for your kind PR. We have fixed the issue of CI in #8707 . Please rebase your code to the newest dev-3.x.

@ZwwWayne ZwwWayne added this to the 3.0.0rc1 milestone Sep 5, 2022
JiayuXu0 and others added 25 commits September 6, 2022 08:34
* 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 <jbwang1997@gmail.com>
Co-authored-by: Haian Huang(深度眸) <huanghaian@sensetime.com>
* 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 <huanghaian@sensetime.com>
…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
* 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
ZwwWayne and others added 6 commits September 6, 2022 08:38
* [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
@JiayuXu0 JiayuXu0 closed this by deleting the head repository Sep 6, 2022
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.

10 participants