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
ResNet50_migraphx
Commits
8a0838dd
Commit
8a0838dd
authored
Jun 13, 2023
by
liucong
Browse files
修改readme
parent
7c2698b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
README.md
README.md
+5
-5
No files found.
README.md
View file @
8a0838dd
...
@@ -25,7 +25,7 @@ docker pull image.sourcefind.cn:5000/dcu/admin/base/custom:ort1.14.0_migraphx3.0
...
@@ -25,7 +25,7 @@ docker pull image.sourcefind.cn:5000/dcu/admin/base/custom:ort1.14.0_migraphx3.0
2.
安装依赖:
2.
安装依赖:
```
python
```
python
# 进入migraphx
samples
工程根目录
# 进入
resnet50
migraphx工程根目录
cd
<
path_to_resnet50_migraphx
>
cd
<
path_to_resnet50_migraphx
>
# 进入示例程序目录
# 进入示例程序目录
...
@@ -60,7 +60,7 @@ python Classifier.py
...
@@ -60,7 +60,7 @@ python Classifier.py
### 安装Opencv依赖
### 安装Opencv依赖
```
python
```
python
cd
<
path_to_migraphx
_samples
>
cd
<
path_to_
resnet50_
migraphx
>
sh
.
/
3
rdParty
/
InstallOpenCVDependences
.
sh
sh
.
/
3
rdParty
/
InstallOpenCVDependences
.
sh
```
```
...
@@ -85,13 +85,13 @@ rbuild build -d depend
...
@@ -85,13 +85,13 @@ rbuild build -d depend
**Centos**
:
**Centos**
:
```
```
export LD_LIBRARY_PATH=<path_to_migraphx
_samples
>/depend/lib64/:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=<path_to_
resnet50_
migraphx>/depend/lib64/:$LD_LIBRARY_PATH
```
```
**Ubuntu**
:
**Ubuntu**
:
```
```
export LD_LIBRARY_PATH=<path_to_migraphx
_samples
>/depend/lib/:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=<path_to_
resnet50_
migraphx>/depend/lib/:$LD_LIBRARY_PATH
```
```
然后执行:
然后执行:
...
@@ -105,7 +105,7 @@ source ~/.bashrc
...
@@ -105,7 +105,7 @@ source ~/.bashrc
运行ResNet50示例程序,具体执行如下命令:
运行ResNet50示例程序,具体执行如下命令:
```
python
```
python
# 进入migraphx
samples
工程根目录
# 进入
resnet50
migraphx工程根目录
cd
<
path_to_resnet50_migraphx
>
cd
<
path_to_resnet50_migraphx
>
# 进入build目录
# 进入build目录
...
...
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