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
HRNet_pytorch
Commits
88075146
Commit
88075146
authored
Dec 19, 2023
by
Sugon_ldc
Browse files
modify readme file data root
parent
5b32a1fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
README.md
README.md
+1
-1
configs/body/2d_kpt_sview_rgb_img/associative_embedding/coco/hrnet_w32_coco_512x512.py
..._img/associative_embedding/coco/hrnet_w32_coco_512x512.py
+3
-3
No files found.
README.md
View file @
88075146
...
@@ -98,7 +98,7 @@ pip3 install -r conda_requirement.txt
...
@@ -98,7 +98,7 @@ pip3 install -r conda_requirement.txt
pip3 install -e .
pip3 install -e .
```
```
之后在训练脚本中--cfg-options后面修改data_root值和train,val,test中ann_file的
路径
数据集的路径可以通过修改configs/body/2d_kpt_sview_rgb_img/associative_embedding/coco/hrnet_w32_coco_512x512.py文件中的数据集
路径
### 单机多卡
### 单机多卡
```
```
...
...
configs/body/2d_kpt_sview_rgb_img/associative_embedding/coco/hrnet_w32_coco_512x512.py
View file @
88075146
...
@@ -168,21 +168,21 @@ data = dict(
...
@@ -168,21 +168,21 @@ data = dict(
train
=
dict
(
train
=
dict
(
type
=
'BottomUpCocoDataset'
,
type
=
'BottomUpCocoDataset'
,
ann_file
=
f
'
{
data_root
}
/annotations/person_keypoints_train2017.json'
,
ann_file
=
f
'
{
data_root
}
/annotations/person_keypoints_train2017.json'
,
img_prefix
=
f
'
{
data_root
}
/train2017/'
,
img_prefix
=
f
'
{
data_root
}
/
images/
train2017/'
,
data_cfg
=
data_cfg
,
data_cfg
=
data_cfg
,
pipeline
=
train_pipeline
,
pipeline
=
train_pipeline
,
dataset_info
=
{{
_base_
.
dataset_info
}}),
dataset_info
=
{{
_base_
.
dataset_info
}}),
val
=
dict
(
val
=
dict
(
type
=
'BottomUpCocoDataset'
,
type
=
'BottomUpCocoDataset'
,
ann_file
=
f
'
{
data_root
}
/annotations/person_keypoints_val2017.json'
,
ann_file
=
f
'
{
data_root
}
/annotations/person_keypoints_val2017.json'
,
img_prefix
=
f
'
{
data_root
}
/val2017/'
,
img_prefix
=
f
'
{
data_root
}
/
images/
val2017/'
,
data_cfg
=
data_cfg
,
data_cfg
=
data_cfg
,
pipeline
=
val_pipeline
,
pipeline
=
val_pipeline
,
dataset_info
=
{{
_base_
.
dataset_info
}}),
dataset_info
=
{{
_base_
.
dataset_info
}}),
test
=
dict
(
test
=
dict
(
type
=
'BottomUpCocoDataset'
,
type
=
'BottomUpCocoDataset'
,
ann_file
=
f
'
{
data_root
}
/annotations/person_keypoints_val2017.json'
,
ann_file
=
f
'
{
data_root
}
/annotations/person_keypoints_val2017.json'
,
img_prefix
=
f
'
{
data_root
}
/val2017/'
,
img_prefix
=
f
'
{
data_root
}
/
images/
val2017/'
,
data_cfg
=
data_cfg
,
data_cfg
=
data_cfg
,
pipeline
=
test_pipeline
,
pipeline
=
test_pipeline
,
dataset_info
=
{{
_base_
.
dataset_info
}}),
dataset_info
=
{{
_base_
.
dataset_info
}}),
...
...
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