Skip to content

Commit

Permalink
fix pose demo multiprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
yysijie committed Jan 21, 2020
1 parent ee4cd7e commit a350373
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion configs/pose_estimation/pose_demo.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
processor_cfg:
type: "processor.pose_demo.inference"
gpus: 1
worker_per_gpu: 2
worker_per_gpu: 1
video_file: resource/data_example/skateboarding.mp4
save_dir: "work_dir/pose_demo"

Expand Down
1 change: 1 addition & 0 deletions mmskeleton/processor/pose_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def worker(inputs, results, gpu, detection_cfg, estimation_cfg, render_image):
res['render_image'] = render(image, res['joint_preds'],
res['person_bbox'],
detection_cfg.bbox_thre)

results.put(res)


Expand Down

0 comments on commit a350373

Please sign in to comment.