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
Vary_pytorch
Commits
c5b7fb44
"examples/git@developer.sourcefind.cn:orangecat/ollama.git" did not exist on "217903ab5111124041b3bb9d7a04d9101f2f32b2"
Commit
c5b7fb44
authored
Oct 25, 2024
by
dcuai
Browse files
Update README.md ——dtk24041
parent
927e75e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
18 deletions
+8
-18
README.md
README.md
+8
-18
No files found.
README.md
View file @
c5b7fb44
...
...
@@ -30,7 +30,7 @@ Vary-base:将新的视觉词汇表与原始词汇表(CLIP)合并,扩展
[
光源
](
https://www.sourcefind.cn/#/service-details
)
拉取docker镜像的地址与使用步骤
```
docker pull image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.1.0-ubuntu2
2
.04-dtk2
3.10
.1-py310
docker pull image.sourcefind.cn:5000/dcu/admin/base/pytorch:2.1.0-ubuntu2
0
.04-dtk2
4.04
.1-py3
.
10
docker run -it -v /path/your_code_data/:/path/your_code_data/ -v /opt/hyhal/:/opt/hyhal/:ro --shm-size=64G --privileged=true --device=/dev/kfd --device=/dev/dri/ --group-add video --name vary <your imageID> bash
...
...
@@ -38,7 +38,7 @@ cd /path/your_code_data/
pip install e .
pip install n
inja
pip install n
umpy==1.24.3
```
### Dockerfile(方法二)
...
...
@@ -53,13 +53,13 @@ cd /path/your_code_data/
pip intall e .
pip install n
inja
pip install n
umpy==1.24.3
```
### Anaconda(方法三)
关于本项目DCU显卡所需的特殊深度学习库可从
[
光合
](
https://developer.hpccube.com/tool/
)
开发者社区下载安装。
```
DTK驱动:dtk2
3.10
DTK驱动:dtk2
4.04.1
python:python3.10
torch:2.1
torchvision: 0.16.0
...
...
@@ -76,7 +76,7 @@ cd /path/your_code_data/
pip install e .
pip install n
inja
pip install n
umpy==1.24.3
```
## 数据集
...
...
@@ -87,8 +87,6 @@ pip install ninja
## 训练
无
## 推理
**需严格按照本仓库代码目录进行排列**
备注:在run.sh修改 --image-file 替换ocr文件
...
...
@@ -130,16 +128,7 @@ bash run.sh
<img
src=
"./assets/ocr_cn.png"
/>
</div>
### 车牌识别结果
<div
align=
center
>
<img
src=
"./image/car.png"
/>
</div>
<div
align=
center
>
<img
src=
"./assets/car_number.png"
/>
</div>
### 内容识别结果
### 内容描述结果
<div
align=
center
>
<img
src=
"./image/pic.jpg"
/>
</div>
...
...
@@ -154,7 +143,7 @@ bash run.sh
`OCR`
### 热点应用行业
`金融,教育,政府,科研
,交通,广媒
`
`金融,教育,政府,科研`
## 预训练权重
...
...
@@ -165,6 +154,7 @@ bash run.sh
验证码可在本仓库留言索取。
-
[Download the CLIP-VIT-L]
<https://huggingface.co/openai/clip-vit-large-patch14/>
-
SCNet模型快速下载中心地址
[
CLIP-VIT-L
](
http://113.200.138.88:18080/aimodels/clip-vit-large-patch14
)
## 源码仓库及问题反馈
...
...
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