xingyizhou / CenterNet2

Two-stage CenterNet
Apache License 2.0
1.2k stars 189 forks source link

Vectorized fill_up weights and run linter on project #25

Open developer0hye opened 3 years ago

developer0hye commented 3 years ago

Thanks for your contribution!

If you're sending a large PR (e.g., >100 lines), please open an issue first about the feature / bug, and indicate how you want to contribute.

We do not always accept features. See https://detectron2.readthedocs.io/notes/contributing.html#pull-requests about how we handle PRs.

Before submitting a PR, please run dev/linter.sh to lint the code.

Actually, I modified 3 lines in dla.py and dla_fpn.py. However, many lines are modified after linter...

Before

https://github.com/xingyizhou/CenterNet2/blob/f3ffa533a0f842a567cdb075684fbbd1ec3cd75d/projects/CenterNet2/centernet/modeling/backbone/dla.py#L254-L263

After

https://github.com/xingyizhou/CenterNet2/blob/f4120763095684a98a8bbfb835abafd0f18897cb/projects/CenterNet2/centernet/modeling/backbone/dla.py#L323-L329