Skip to content

Commit

Permalink
rename stgcn backbone
Browse files Browse the repository at this point in the history
  • Loading branch information
yysijie committed Oct 9, 2019
1 parent 551e3b4 commit dbb00d8
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion configs/recognition/st_gcn/dataset_example/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ processor_cfg:

# model setting
model_cfg:
type: "models.backbones.ST_GCN_AAAI18"
type: "models.backbones.ST_GCN_18"
in_channels: 3
num_class: 3
edge_importance_weighting: True
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ processor_cfg:

# model setting
model_cfg:
type: "models.backbones.ST_GCN_AAAI18"
type: "models.backbones.ST_GCN_18"
in_channels: 3
num_class: 400
edge_importance_weighting: True
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ processor_cfg:

# model setting
model_cfg:
type: 'models.backbones.ST_GCN_AAAI18'
type: 'models.backbones.ST_GCN_18'
in_channels: 3
num_class: 400
edge_importance_weighting: True
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ processor_cfg:

# model setting
model_cfg:
type: "models.backbones.ST_GCN_AAAI18"
type: "models.backbones.ST_GCN_18"
in_channels: 3
num_class: 400
edge_importance_weighting: True
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ argparse_cfg:
work_dir:
bind_to: processor_cfg.work_dir
help: the dir to save logs and models
default: ./work_dir/recognition/st_gcn_aaai18/kinetics-skeleton
default: ./work_dir/recognition/ST_GCN_18/kinetics-skeleton
batch_size:
bind_to: processor_cfg.batch_size
resume_from:
Expand All @@ -19,7 +19,7 @@ processor_cfg:

# model setting
model_cfg:
type: 'models.backbones.ST_GCN_AAAI18'
type: 'models.backbones.ST_GCN_18'
in_channels: 3
num_class: 400
edge_importance_weighting: True
Expand Down
2 changes: 1 addition & 1 deletion configs/recognition/st_gcn_aaai18/ntu-rgbd-xsub/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ processor_cfg:

# model setting
model_cfg:
type: "models.backbones.ST_GCN_AAAI18"
type: "models.backbones.ST_GCN_18"
in_channels: 3
num_class: 60
dropout: 0.5
Expand Down
4 changes: 2 additions & 2 deletions configs/recognition/st_gcn_aaai18/ntu-rgbd-xsub/train.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ argparse_cfg:
work_dir:
bind_to: processor_cfg.work_dir
help: the dir to save logs and models
default: ./work_dir/recognition/st_gcn_aaai18/ntu-rgbd-xsub
default: ./work_dir/recognition/ST_GCN_18/ntu-rgbd-xsub
batch_size:
bind_to: processor_cfg.batch_size
resume_from:
Expand All @@ -19,7 +19,7 @@ processor_cfg:

# model setting
model_cfg:
type: 'models.backbones.ST_GCN_AAAI18'
type: 'models.backbones.ST_GCN_18'
in_channels: 3
num_class: 60
dropout: 0.5
Expand Down
2 changes: 1 addition & 1 deletion configs/recognition/st_gcn_aaai18/ntu-rgbd-xview/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ processor_cfg:

# model setting
model_cfg:
type: "models.backbones.ST_GCN_AAAI18"
type: "models.backbones.ST_GCN_18"
in_channels: 3
num_class: 60
dropout: 0.5
Expand Down
4 changes: 2 additions & 2 deletions configs/recognition/st_gcn_aaai18/ntu-rgbd-xview/train.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ argparse_cfg:
work_dir:
bind_to: processor_cfg.work_dir
help: the dir to save logs and models
default: ./work_dir/recognition/st_gcn_aaai18/ntu-rgbd-xview
default: ./work_dir/recognition/ST_GCN_18/ntu-rgbd-xview
batch_size:
bind_to: processor_cfg.batch_size
resume_from:
Expand All @@ -19,7 +19,7 @@ processor_cfg:

# model setting
model_cfg:
type: 'models.backbones.ST_GCN_AAAI18'
type: 'models.backbones.ST_GCN_18'
in_channels: 3
num_class: 60
dropout: 0.5
Expand Down
1 change: 1 addition & 0 deletions configs/utils/build_kinetics_skeleton_from_hrnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ processor_cfg:
- 0.224
- 0.225
post_process: true
tracker_cfg: null

argparse_cfg:
gpus:
Expand Down
2 changes: 1 addition & 1 deletion mmskeleton/models/backbones/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
from .st_gcn_aaai18 import ST_GCN_AAAI18
from .st_gcn_aaai18 import ST_GCN_18
from .hrnet import HRNet
2 changes: 1 addition & 1 deletion mmskeleton/models/backbones/st_gcn_aaai18.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from mmskeleton.ops.st_gcn import ConvTemporalGraphical, Graph


class ST_GCN_AAAI18(nn.Module):
class ST_GCN_18(nn.Module):
r"""Spatial temporal graph convolutional networks.
Args:
Expand Down

0 comments on commit dbb00d8

Please sign in to comment.