文件最后提交记录最后更新时间
init 4 年前
!2349 [华中农业大学][高校贡献][Pytorch][Deeppose]-高性能预训练模型提交 !2349 [华中农业大学][高校贡献][Pytorch][Deeppose]-高性能预训练模型提交 3 年前
init 4 年前
init 4 年前
!2349 [华中农业大学][高校贡献][Pytorch][Deeppose]-高性能预训练模型提交 !2349 [华中农业大学][高校贡献][Pytorch][Deeppose]-高性能预训练模型提交 3 年前
!4671 【fix】批量修改模型python版本,兼容环境上的python3.8版本 * fix python version 3 年前
!4671 【fix】批量修改模型python版本,兼容环境上的python3.8版本 * fix python version 3 年前
!5174 【PyTorch】【built-in】DeepPose模型公网地址整改 * 开源代码地址为/ * Statement 改为一级标题 * DeepPose模型公网地址整改 2 年前
fix link validity Co-authored-by: frozenleaves<914814442@qq.com> # message auto-generated for no-merge-commit merge: !7517 merge master into master fix link validity Created-by: frozenn Commit-by: frozenleaves Merged-by: ascend-robot Description: ## Motivation Please describe the motivation of this PR and the goal you want to achieve through this PR. ## Modification Please briefly describe what modification is made in this PR. ## Self-test (Optional) If modifications to this PR may cause/fix function/accuracy/performance DTSs/issues, a self-inspection record needs to be attached. ## BC-breaking (Optional) If there are compatibility issues, such as dependencies on cann/torch_npu versions, they need to be explained in the PR. ## Checklist **Before PR**: - [ ] The new code needs to comply with the Clean Code specification. - [ ] The PR content is self-checked, and the expression can be clear and the writing standardized **After PR**: - [ ] CLA has been signed and all committers have signed the CLA in this PR. - [ ] The ci-pipeline is passed, Code Check is passed. See merge request: Ascend/ModelZoo-PyTorch!75171 个月前
init 4 年前
init 4 年前
init 4 年前
fix link validity Co-authored-by: frozenleaves<914814442@qq.com> # message auto-generated for no-merge-commit merge: !7517 merge master into master fix link validity Created-by: frozenn Commit-by: frozenleaves Merged-by: ascend-robot Description: ## Motivation Please describe the motivation of this PR and the goal you want to achieve through this PR. ## Modification Please briefly describe what modification is made in this PR. ## Self-test (Optional) If modifications to this PR may cause/fix function/accuracy/performance DTSs/issues, a self-inspection record needs to be attached. ## BC-breaking (Optional) If there are compatibility issues, such as dependencies on cann/torch_npu versions, they need to be explained in the PR. ## Checklist **Before PR**: - [ ] The new code needs to comply with the Clean Code specification. - [ ] The PR content is self-checked, and the expression can be clear and the writing standardized **After PR**: - [ ] CLA has been signed and all committers have signed the CLA in this PR. - [ ] The ci-pipeline is passed, Code Check is passed. See merge request: Ascend/ModelZoo-PyTorch!75171 个月前
[众智][PyTorch]整改模型中的requirements.txt文件,删除torch,apex Signed-off-by: bailang <bailang12@h-partners.com> 3 年前
init 4 年前
init 4 年前
README.md

DeepPose

This implements training of DeepPose on the COCO2017 dataset, mainly modified from mmpose.

DeepPose Detail

For details, see mmpose/models/backbones/resnet.py.

Requirements

  • Install PyTorch (pytorch.org) and apex

  • pip install -r requirements.txt

    Caution: If your cpu is based on ARM,you need to download the source code of package xtcocoapi. You can download the source code from GoogleDrive and do like this:

    unzip xtcocoapi.zip
    cd xtcocoapi
    python3 setup.py build_ext install
    
  • HRNet-Human-Pose-Estimation provides person detection result of COCO val2017 to reproduce our multi-person pose estimation results. Please download from OneDrive or GoogleDrive. Download and extract them , and place COCO_val2017_detections_AP_H_56_person.json under $DeepPose/person_detection_results.

Training

# default work directory is work_dirs/npu_deeppose_res50_coco_256x192/
# O2 training , defalut device 0
bash test/train_full_1p.sh --data_path=coco2017_data_path

# O2 training 8p
bash test/train_full_8p.sh --data_path=coco2017_data_path

# eval 8p
# default ckpt path is work_dirs/npu_deeppose_res50_coco_256x192/epoch_210.pth
# you need to choose the correct path of checkpoint
bash bash test/train_full_8p.sh --data_path=coco2017_data_path --checkpoint=ckpt_path

# online inference demo
python3 demo.py configs/top_down/deeppose/coco/npu_deeppose_res50_coco_256x192.py work_dirs/npu_deeppose_res50_coco_256x192/epoch_210.pth

# onnx
python3 pthtar2onnx.py

DeepPose training result

名称 精度 性能 AMP_Type
GPU-1p - 194 O2
GPU-8p 52.50 1160 O2
NPU-1p - 117 O2
NPU-8p 52.65 650-830 O2

Statement

For details about the public address of the code in this repository, you can get from the file public_address_statement.md