将rtmpose的backbone替换为mobilenetv4
https://mmpose.readthedocs.io/en/latest/installation.html
-
conda create --name rtmpose python=3.8 -y
-
conda activate rtmpose
-
conda install pytorch torchvision -c pytorch
-
pip install -U openmim
-
mim install mmengine
-
mim install "mmcv>=2.0.1"
- cd mmpose
- pip install -r requirements.txt
- pip install -v -e .
- mim install "mmpose>=1.1.0"
- python demo/image_demo.py
tests/data/coco/000000000785.jpg
td-hm_hrnet-w48_8xb32-210e_coco-256x192.py
td-hm_hrnet-w48_8xb32-210e_coco-256x192-0e67c616_20220913.pth
--out-file vis_results.jpg
--draw-heatmap
python tools/train.py configs\body_2d_keypoint\rtmpose\coco\mv4_rtmpose-m_8xb256-420e_coco-256x192.py