File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -34,26 +34,22 @@ openxlab dataset get --dataset-repo OpenDataLab/CIFAR-100 && cd OpenDataLab___CI
3434
35353 . Prepare scripts
3636```
37- ## CentOS
38- yum install -y mesa-libGL
39- ## Ubuntu
40- apt install -y libgl1-mesa-dev
41-
42- cd package
37+ cd packages # tutorial_on_musa/packages
4338# 目前只是编译了py310 使用驱动版本为rc3.1.0
4439pip install mmcv-2.1.0-cp310-cp310-linux_x86_64.whl
4540
46- git clone -b 9124ebf7a285a https://github.com/open-mmlab/mmengine.git
41+ git clone https://github.com/open-mmlab/mmengine.git
4742cd mmengine
43+ git checkout 9124ebf7a285a
4844pip install -r requirements.txt
4945python setup.py install
5046
51- git clone -b 17a886cb582 https://github.com/open-mmlab/mmpretrain.git
47+ git clone https://github.com/open-mmlab/mmpretrain.git
5248cd mmpretrain
5349pip install -e .
5450
55- vim configs/_base_/datasets/imagenet_bs32.py # 修改data_root 的值为数据所在地
56- vim configs/_base_/default_runtime.py # 修改load_from 的值 ,放在''中
51+ vim configs/_base_/datasets/imagenet_bs32.py # 修改data_root 的值为数据集路径,修改dataset_type为对应数据集名字
52+ vim configs/_base_/default_runtime.py # 修改load_from 的值为预训练权重文件路径 ,放在''中
5753
5854```
5955
You can’t perform that action at this time.
0 commit comments