This commit is contained in:
zhousha
2025-12-04 18:05:02 +08:00
parent 577570e95c
commit d5c25001f7
4 changed files with 31 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
# 运行方式
```python
docker pull git.modelhub.org.cn:9443/enginex-hygon/pytorch:2.1.0-centos7.6-dtk24.04-py310
# 为以上拉取的docker的镜像ID替换本镜像为c85ed27005f2
docker run -it --shm-size=32G -v $PWD/MobileNetv4:/home/MobileNetv4 -v /opt/hyhal:/opt/hyhal:ro --privileged=true --device=/dev/kfd --device=/dev/dri/ --group-add video --name mobilenetv4 bash
cd /home/MobileNetv4
pip install -r requirements.txt # requirements.txt
```