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
DeepSolo_pytorch
Commits
ad227053
Commit
ad227053
authored
Sep 02, 2024
by
shantf
Browse files
update README.md and dockerfile
parent
14acd1f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
README.md
README.md
+9
-9
docker/Dockerfile
docker/Dockerfile
+1
-1
No files found.
README.md
View file @
ad227053
...
@@ -36,13 +36,13 @@ python -m pip install -e detectron2
...
@@ -36,13 +36,13 @@ python -m pip install -e detectron2
-v 路径、docker_name和imageID根据实际情况修改
-v 路径、docker_name和imageID根据实际情况修改
```
```
docker pull image.sourcefind.cn:5000/dcu/admin/base/pytorch:
1
.1
3.1-centos7.6
-dtk
-23
.04-py38
-latest
docker pull image.sourcefind.cn:5000/dcu/admin/base/pytorch:
2
.1
.0-ubuntu20.04
-dtk
24
.04
.1
-py3
.
8
docker run -it -v /path/your_code_data/:/path/your_code_data/ --shm-size=32G --privileged=true --device=/dev/kfd --device=/dev/dri/ --group-add video --name docker_name imageID bash
docker run -it -v /path/your_code_data/:/path/your_code_data/
-v /opt/hyhal:/opt/hyhal:ro
--shm-size=32G --privileged=true --device=/dev/kfd --device=/dev/dri/ --group-add video --name docker_name imageID bash
cd /home/deepsolo_pytorch
cd /home/deepsolo_pytorch
pip install --upgrade setuptools wheel
pip install --upgrade setuptools wheel
pip install -r requirements.txt
pip install -r requirements.txt
-i https://pypi.tuna.tsinghua.edu.cn/simple
python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
bash make.sh
bash make.sh
```
```
...
@@ -55,11 +55,11 @@ bash make.sh
...
@@ -55,11 +55,11 @@ bash make.sh
cd ./docker
cd ./docker
docker build --no-cache -t deepsolo:latest .
docker build --no-cache -t deepsolo:latest .
docker run -it -v /path/your_code_data/:/path/your_code_data/ --shm-size=32G --privileged=true --device=/dev/kfd --device=/dev/dri/ --group-add video --name docker_name imageID bash
docker run -it -v /path/your_code_data/:/path/your_code_data/
-v /opt/hyhal:/opt/hyhal:ro
--shm-size=32G --privileged=true --device=/dev/kfd --device=/dev/dri/ --group-add video --name docker_name imageID bash
cd /your_code_path/deepsolo_pytorch
cd /your_code_path/deepsolo_pytorch
pip install --upgrade setuptools wheel
pip install --upgrade setuptools wheel
pip install -r requirements.txt
pip install -r requirements.txt
-i https://pypi.tuna.tsinghua.edu.cn/simple
python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
bash make.sh
bash make.sh
```
```
...
@@ -69,10 +69,10 @@ bash make.sh
...
@@ -69,10 +69,10 @@ bash make.sh
1、关于本项目DCU显卡所需的特殊深度学习库可从光合开发者社区下载安装: https://developer.hpccube.com/tool/
1、关于本项目DCU显卡所需的特殊深度学习库可从光合开发者社区下载安装: https://developer.hpccube.com/tool/
```
```
DTK软件栈:dtk2
3
.04
DTK软件栈:dtk2
4
.04
.1
python:python3.8
python:python3.8
torch:
1
.1
3.1
torch:
2
.1
.0
torchvision:0.1
4
.1
torchvision:0.1
6.0+das1.1.git7d45932.abi1.dtk2404.torch2
.1
```
```
Tips:以上dtk软件栈、python、torch等DCU相关工具版本需要严格一一对应
Tips:以上dtk软件栈、python、torch等DCU相关工具版本需要严格一一对应
...
@@ -81,7 +81,7 @@ Tips:以上dtk软件栈、python、torch等DCU相关工具版本需要严格
...
@@ -81,7 +81,7 @@ Tips:以上dtk软件栈、python、torch等DCU相关工具版本需要严格
```
```
pip install --upgrade setuptools wheel
pip install --upgrade setuptools wheel
pip install -r requirements.txt
pip install -r requirements.txt
-i https://pypi.tuna.tsinghua.edu.cn/simple
python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
bash make.sh
bash make.sh
```
```
...
...
docker/Dockerfile
View file @
ad227053
FROM
image.sourcefind.cn:5000/dcu/admin/base/pytorch:
1
.1
3.1-centos7.6
-dtk
-23
.04-py38
-latest
FROM
image.sourcefind.cn:5000/dcu/admin/base/pytorch:
2
.1
.0-ubuntu20.04
-dtk
24
.04
.1
-py3
.
8
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