From fb231ab2c1b831592f60d77396b69550f84673b4 Mon Sep 17 00:00:00 2001 From: Ren Tianhe <48727989+rentainhe@users.noreply.github.com> Date: Fri, 7 Oct 2022 12:59:36 +0800 Subject: [PATCH] Fix ConvNeXt backbone bugs and typos (#91) * fix convnext bugs * fix docs typos Co-authored-by: ntianhe ren --- detrex/modeling/backbone/convnext.py | 2 +- docs/source/tutorials/Installation.md | 2 +- projects/group_detr/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/detrex/modeling/backbone/convnext.py b/detrex/modeling/backbone/convnext.py index 148f12ea..1d41aa39 100644 --- a/detrex/modeling/backbone/convnext.py +++ b/detrex/modeling/backbone/convnext.py @@ -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) diff --git a/docs/source/tutorials/Installation.md b/docs/source/tutorials/Installation.md index acc80141..8af329be 100644 --- a/docs/source/tutorials/Installation.md +++ b/docs/source/tutorials/Installation.md @@ -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 diff --git a/projects/group_detr/README.md b/projects/group_detr/README.md index 01fd66e5..017c0853 100644 --- a/projects/group_detr/README.md +++ b/projects/group_detr/README.md @@ -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)]