Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
mmpose-RTMO_pytorch
Commits
66c6a334
Commit
66c6a334
authored
Jan 24, 2024
by
chenzk
Browse files
v1.1.1
parent
b527cbce
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
60 additions
and
33 deletions
+60
-33
docker/Dockerfile
docker/Dockerfile
+8
-33
docker/requirements.txt
docker/requirements.txt
+4
-0
docker/requirements/albu.txt
docker/requirements/albu.txt
+1
-0
docker/requirements/build.txt
docker/requirements/build.txt
+3
-0
docker/requirements/docs.txt
docker/requirements/docs.txt
+8
-0
docker/requirements/mminstall.txt
docker/requirements/mminstall.txt
+3
-0
docker/requirements/optional.txt
docker/requirements/optional.txt
+1
-0
docker/requirements/poseval.txt
docker/requirements/poseval.txt
+2
-0
docker/requirements/readthedocs.txt
docker/requirements/readthedocs.txt
+9
-0
docker/requirements/runtime.txt
docker/requirements/runtime.txt
+12
-0
docker/requirements/tests.txt
docker/requirements/tests.txt
+9
-0
No files found.
docker/Dockerfile
View file @
66c6a334
ARG
PYTORCH="1.8.1"
FROM
image.sourcefind.cn:5000/dcu/admin/base/pytorch:1.13.1-centos7.6-dtk23.10-py38
ARG
CUDA="10.2"
ENV
DEBIAN_FRONTEND=noninteractive
ARG
CUDNN="7"
# RUN yum update && yum install -y git cmake wget build-essential
RUN
source
/opt/dtk-23.10/env.sh
# 安装pip相关依赖
COPY
requirements requirements
COPY
requirements.txt requirements.txt
RUN
pip3
install
-i
http://mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyun.com
-r
requirements.txt
FROM
pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel
ENV
TORCH_CUDA_ARCH_LIST="6.0 6.1 7.0+PTX"
ENV
TORCH_NVCC_FLAGS="-Xfatbin -compress-all"
ENV
CMAKE_PREFIX_PATH="$(dirname $(which conda))/../"
# To fix GPG key error when running apt-get update
RUN
apt-key adv
--fetch-keys
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
RUN
apt-key adv
--fetch-keys
https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
RUN
apt-get update
&&
apt-get
install
-y
git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6 libgl1-mesa-glx
\
&&
apt-get clean
\
&&
rm
-rf
/var/lib/apt/lists/
*
# Install xtcocotools
RUN
pip
install
cython
RUN
pip
install
xtcocotools
# Install MMEngine and MMCV
RUN
pip
install
openmim
RUN
mim
install
mmengine
"mmcv>=2.0.0"
# Install MMPose
RUN
conda clean
--all
RUN
git clone https://github.com/open-mmlab/mmpose.git /mmpose
WORKDIR
/mmpose
RUN
git checkout main
ENV
FORCE_CUDA="1"
RUN
pip
install
-r
requirements/build.txt
RUN
pip
install
--no-cache-dir
-e
.
docker/requirements.txt
0 → 100644
View file @
66c6a334
-r requirements/build.txt
-r requirements/runtime.txt
-r requirements/tests.txt
-r requirements/optional.txt
docker/requirements/albu.txt
0 → 100644
View file @
66c6a334
albumentations>=0.3.2 --no-binary qudida,albumentations
docker/requirements/build.txt
0 → 100644
View file @
66c6a334
# These must be installed before building mmpose
numpy
torch>=1.8
docker/requirements/docs.txt
0 → 100644
View file @
66c6a334
docutils==0.16.0
markdown
myst-parser
-e git+https://github.com/gaotongxiao/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
sphinx==4.5.0
sphinx_copybutton
sphinx_markdown_tables
urllib3<2.0.0
docker/requirements/mminstall.txt
0 → 100644
View file @
66c6a334
mmcv>=2.0.0,<2.2.0
mmdet>=3.0.0,<3.3.0
mmengine>=0.4.0,<1.0.0
docker/requirements/optional.txt
0 → 100644
View file @
66c6a334
requests
docker/requirements/poseval.txt
0 → 100644
View file @
66c6a334
poseval@git+https://github.com/svenkreiss/poseval.git
shapely==1.8.4
docker/requirements/readthedocs.txt
0 → 100644
View file @
66c6a334
mmcv>=2.0.0rc4
mmengine>=0.6.0,<1.0.0
munkres
regex
scipy
titlecase
torch>1.6
torchvision
xtcocotools>=1.13
docker/requirements/runtime.txt
0 → 100644
View file @
66c6a334
chumpy
json_tricks
matplotlib
munkres
numpy
opencv-python
pillow
scipy
# torchvision
xtcocotools>=1.12
mmdet
mmengine
docker/requirements/tests.txt
0 → 100644
View file @
66c6a334
coverage
flake8
interrogate
isort==4.3.21
parameterized
pytest
pytest-runner
xdoctest>=0.10.0
yapf
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment