Skip to content

Commit

Permalink
Fix ConvNeXt backbone bugs and typos (IDEA-Research#91)
Browse files Browse the repository at this point in the history
* fix convnext bugs

* fix docs typos

Co-authored-by: ntianhe ren <[email protected]>
  • Loading branch information
rentainhe and ntianhe ren authored Oct 7, 2022
1 parent bb66cd8 commit fb231ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion detrex/modeling/backbone/convnext.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def __init__(
cur += depths[i]

norm_layer = partial(LayerNorm, eps=1e-6, channel_last=False)
for i_layer in range(4):
for i_layer in out_indices:
layer = norm_layer(dims[i_layer])
layer_name = f"norm{i_layer}"
self.add_module(layer_name, layer)
Expand Down
2 changes: 1 addition & 1 deletion docs/source/tutorials/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $ conda activate detrex
```
- Secondly, clone `detrex` and initialize the `detectron2` submodule.
```bash
$ git clone https://github.com/IDEACVR/detrex.git
$ git clone https://github.com/IDEA-Research/detrex.git
$ cd detrex
$ git submodule init
$ git submodule update
Expand Down
2 changes: 1 addition & 1 deletion projects/group_detr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Chen, Qiang and Chen, Xiaokang and Wang, Jian and Feng, Haocheng and Han, Junyu and Ding, Errui and Zeng, Gang and Wang, Jingdong

[[`arXiv`](https://arxiv.org/abs/2207.13085)] [[`BibTeX`](#citing-conditional-detr)]
[[`arXiv`](https://arxiv.org/abs/2207.13085)] [[`BibTeX`](#citing-group-detr)]

<div align="center">
<img src="./assets/group_detr_arch.png"/>
Expand Down

0 comments on commit fb231ab

Please sign in to comment.