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
SAM_pytorch
Commits
6ec642b0
Commit
6ec642b0
authored
Nov 03, 2023
by
yuhai
Browse files
Update README.md
parent
09ed8264
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
README.md
README.md
+3
-2
No files found.
README.md
View file @
6ec642b0
...
@@ -36,8 +36,9 @@ pip install opencv-python pycocotools matplotlib onnxruntime onnx
...
@@ -36,8 +36,9 @@ pip install opencv-python pycocotools matplotlib onnxruntime onnx
```
```
### Dockerfile(方法二)
### Dockerfile(方法二)
```
```
docker build --no-cache -t image.sourcefind.cn:5000/dcu/admin/base/pytorch:1.10.0-centos7.6-dtk-22.10-py39-latest .
cd /path/to/dockerfile
docker run -it --network=host --name=SAM_pytorch --privileged --device=/dev/kfd --device=/dev/dri --ipc=host --shm-size=16G --group-add video --cap-add=SYS_PTRACE <上面获得的镜像ID> /bin/bash
docker build --no-cache -t SAM_pytorch:latest .
docker run -it --network=host --name=SAM_pytorch --privileged --device=/dev/kfd --device=/dev/dri --ipc=host --shm-size=16g --group-add video --cap-add=SYS_PTRACE -it SAM_pytorch:latest bash
```
```
安装其他依赖:
安装其他依赖:
```
```
...
...
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