Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
HDETR_pytorch
Commits
7a81732e
Commit
7a81732e
authored
Dec 07, 2023
by
chenych
Browse files
Update README and modify mistakes in main.py
parent
7a1087c0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
README.md
README.md
+1
-1
main.py
main.py
+1
-1
train_multi.sh
train_multi.sh
+5
-5
No files found.
README.md
View file @
7a81732e
...
@@ -167,7 +167,7 @@ COCO2017测试集上的单张图像结果展示:
...
@@ -167,7 +167,7 @@ COCO2017测试集上的单张图像结果展示:
| Name | Backbone | query | epochs | AP |
| Name | Backbone | query | epochs | AP |
| :--------: | :------: | :------: | :------: | :------: |
| :--------: | :------: | :------: | :------: | :------: |
| H-Deformable-DETR + tricks(our) | R50 | 300 | 12 |
xxx
|
| H-Deformable-DETR + tricks(our) | R50 | 300 | 12 |
48.6
|
| H-Deformable-DETR + tricks | R50 | 300 | 12 | 48.7 |
| H-Deformable-DETR + tricks | R50 | 300 | 12 | 48.7 |
...
...
main.py
View file @
7a81732e
...
@@ -45,7 +45,7 @@ def get_args_parser():
...
@@ -45,7 +45,7 @@ def get_args_parser():
nargs
=
"+"
,
nargs
=
"+"
,
)
)
parser
.
add_argument
(
"--lr_linear_proj_mult"
,
default
=
0.1
,
type
=
float
)
parser
.
add_argument
(
"--lr_linear_proj_mult"
,
default
=
0.1
,
type
=
float
)
parser
.
add_argument
(
"--"
,
default
=
2
,
type
=
int
)
parser
.
add_argument
(
"--
batch_size
"
,
default
=
2
,
type
=
int
)
parser
.
add_argument
(
"--weight_decay"
,
default
=
1e-4
,
type
=
float
)
parser
.
add_argument
(
"--weight_decay"
,
default
=
1e-4
,
type
=
float
)
parser
.
add_argument
(
"--epochs"
,
default
=
50
,
type
=
int
)
parser
.
add_argument
(
"--epochs"
,
default
=
50
,
type
=
int
)
parser
.
add_argument
(
"--lr_drop"
,
default
=
40
,
type
=
int
)
parser
.
add_argument
(
"--lr_drop"
,
default
=
40
,
type
=
int
)
...
...
train_multi.sh
View file @
7a81732e
...
@@ -8,10 +8,10 @@ export USE_MIOPEN_BATCHNORM=1
...
@@ -8,10 +8,10 @@ export USE_MIOPEN_BATCHNORM=1
echo
"Training start ..."
echo
"Training start ..."
# coco_path是训练数据集地址,数据是coco format
# coco_path是训练数据集地址,数据是coco format
# GPUS_PER_NODE=4 ./tools/run_dist_launch.sh 4 <config path> --coco_path <coco path>
GPUS_PER_NODE
=
4 ./tools/run_dist_launch.sh 4 <config path>
--coco_path
<coco path>
# example
# example
GPUS_PER_NODE
=
8 ./tools/run_dist_launch.sh 8
\
# GPUS_PER_NODE=4 ./tools/run_dist_launch.sh 4 \
./configs/two_stage/deformable-detr-hybrid-branch/12eps/r50_hybrid_branch_lambda1_group6_t1500_dp0_mqs_lft_deformable_detr_plus_iterative_bbox_refinement_plus_plus_two_stage.sh
>
log_hdetr_2_8_dcu.20231205
# ./configs/two_stage/deformable-detr-hybrid-branch/12eps/r50_hybrid_branch_lambda1_group6_t1500_dp0_mqs_lft_deformable_detr_plus_iterative_bbox_refinement_plus_plus_two_stage.sh > log_hdetr_2_8_dcu.20231205
# 线上
# GPUS_PER_NODE=4 ./tools/run_dist_slurm.sh wzhdexclu10 hdetr_2_8 8 ./configs/two_stage/deformable-detr-hybrid-branch/12eps/r50_hybrid_branch_lambda1_group6_t1500_dp0_mqs_lft_deformable_detr_plus_iterative_bbox_refinement_plus_plus_two_stage.sh
echo
"Training finished."
echo
"Training finished."
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment