Skip to content

Commit

Permalink
demo realtime
Browse files Browse the repository at this point in the history
  • Loading branch information
yysijie committed Aug 5, 2019
1 parent 6b1e290 commit a98f945
Show file tree
Hide file tree
Showing 6 changed files with 328 additions and 324 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
weights: ./models/st_gcn.kinetics.pt
model_fps: 30

# model
model: net.st_gcn.Model
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
processors = dict()
processors['recognition'] = import_class('processor.recognition.REC_Processor')
processors['demo'] = import_class('processor.demo.Demo')
processors['camera'] = import_class('processor.demo_camera.DemoCamera')
processors['camera'] = import_class('processor.demo_realtime.DemoRealtime')
#endregion yapf: enable

# add sub-parser
Expand Down
3 changes: 1 addition & 2 deletions processor/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,7 @@ def get_parser(add_help=False):
help='Path to save results')
parser.add_argument('--height',
default=1080,
type=int,
help='Path to save results')
type=int)
parser.set_defaults(config='./config/st_gcn/kinetics-skeleton/demo.yaml')
parser.set_defaults(print_log=False)
# endregion yapf: enable
Expand Down
299 changes: 0 additions & 299 deletions processor/demo_camera.py

This file was deleted.

Loading

0 comments on commit a98f945

Please sign in to comment.