Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleClas
提交
ab45ca9d
P
PaddleClas
项目概览
PaddlePaddle
/
PaddleClas
接近 2 年 前同步成功
通知
116
Star
4999
Fork
1114
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
19
列表
看板
标记
里程碑
合并请求
6
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleClas
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
19
Issue
19
列表
看板
标记
里程碑
合并请求
6
合并请求
6
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
ab45ca9d
编写于
6月 10, 2022
作者:
C
cuicheng01
提交者:
GitHub
6月 10, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #2021 from TingquanGao/dev/dbg
dbg
上级
36abcd62
9396b5bd
变更
35
隐藏空白更改
内联
并排
Showing
35 changed file
with
53 addition
and
56 deletion
+53
-56
deploy/configs/PULC/language_classification/inference_language_classification.yaml
...age_classification/inference_language_classification.yaml
+1
-1
deploy/configs/PULC/text_image_orientation/inference_text_image_orientation.yaml
...t_image_orientation/inference_text_image_orientation.yaml
+1
-1
deploy/configs/PULC/textline_orientation/inference_textline_orientation.yaml
.../textline_orientation/inference_textline_orientation.yaml
+1
-1
deploy/configs/PULC/vehicle_exists/inference_vehicle_exists.yaml
...configs/PULC/vehicle_exists/inference_vehicle_exists.yaml
+4
-4
deploy/images/PULC/vehicle_exists/objects365_00001507.jpeg
deploy/images/PULC/vehicle_exists/objects365_00001507.jpeg
+0
-0
deploy/images/PULC/vehicle_exists/objects365_00001521.jpeg
deploy/images/PULC/vehicle_exists/objects365_00001521.jpeg
+0
-0
docs/zh_CN/PULC/PULC_language_classification.md
docs/zh_CN/PULC/PULC_language_classification.md
+7
-7
docs/zh_CN/PULC/PULC_text_image_orientation.md
docs/zh_CN/PULC/PULC_text_image_orientation.md
+4
-5
docs/zh_CN/PULC/PULC_traffic_sign.md
docs/zh_CN/PULC/PULC_traffic_sign.md
+4
-4
docs/zh_CN/PULC/PULC_vehicle_attribute.md
docs/zh_CN/PULC/PULC_vehicle_attribute.md
+4
-4
paddleclas.py
paddleclas.py
+4
-2
ppcls/configs/PULC/language_classification/MobileNetV3_small_x0_35.yaml
...PULC/language_classification/MobileNetV3_small_x0_35.yaml
+1
-1
ppcls/configs/PULC/language_classification/PPLCNet_x1_0.yaml
ppcls/configs/PULC/language_classification/PPLCNet_x1_0.yaml
+1
-1
ppcls/configs/PULC/language_classification/PPLCNet_x1_0_distillation.yaml
...LC/language_classification/PPLCNet_x1_0_distillation.yaml
+2
-2
ppcls/configs/PULC/language_classification/PPLCNet_x1_0_search.yaml
...igs/PULC/language_classification/PPLCNet_x1_0_search.yaml
+1
-1
ppcls/configs/PULC/language_classification/SwinTransformer_tiny_patch4_window7_224.yaml
...assification/SwinTransformer_tiny_patch4_window7_224.yaml
+1
-1
ppcls/configs/PULC/text_image_orientation/MobileNetV3_small_x0_35.yaml
.../PULC/text_image_orientation/MobileNetV3_small_x0_35.yaml
+1
-1
ppcls/configs/PULC/text_image_orientation/PPLCNet_x1_0.yaml
ppcls/configs/PULC/text_image_orientation/PPLCNet_x1_0.yaml
+1
-1
ppcls/configs/PULC/text_image_orientation/PPLCNet_x1_0_distillation.yaml
...ULC/text_image_orientation/PPLCNet_x1_0_distillation.yaml
+2
-2
ppcls/configs/PULC/text_image_orientation/PPLCNet_x1_0_search.yaml
...figs/PULC/text_image_orientation/PPLCNet_x1_0_search.yaml
+1
-1
ppcls/configs/PULC/text_image_orientation/SwinTransformer_tiny_patch4_window7_224.yaml
..._orientation/SwinTransformer_tiny_patch4_window7_224.yaml
+1
-1
ppcls/configs/PULC/textline_orientation/MobileNetV3_small_x0_35.yaml
...gs/PULC/textline_orientation/MobileNetV3_small_x0_35.yaml
+1
-1
ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0.yaml
ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0.yaml
+1
-1
ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0_224x224.yaml
...nfigs/PULC/textline_orientation/PPLCNet_x1_0_224x224.yaml
+1
-1
ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0_distillation.yaml
.../PULC/textline_orientation/PPLCNet_x1_0_distillation.yaml
+1
-1
ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0_search.yaml
...onfigs/PULC/textline_orientation/PPLCNet_x1_0_search.yaml
+1
-1
ppcls/configs/PULC/textline_orientation/SwinTransformer_tiny_patch4_window7_224.yaml
..._orientation/SwinTransformer_tiny_patch4_window7_224.yaml
+1
-1
ppcls/configs/PULC/traffic_sign/MobileNetV3_samll_x0_35.yaml
ppcls/configs/PULC/traffic_sign/MobileNetV3_samll_x0_35.yaml
+1
-1
ppcls/configs/PULC/traffic_sign/PPLCNet_x1_0.yaml
ppcls/configs/PULC/traffic_sign/PPLCNet_x1_0.yaml
+1
-1
ppcls/configs/PULC/traffic_sign/PPLCNet_x1_0_distillation.yaml
.../configs/PULC/traffic_sign/PPLCNet_x1_0_distillation.yaml
+1
-1
ppcls/configs/PULC/traffic_sign/PPLCNet_x1_0_search.yaml
ppcls/configs/PULC/traffic_sign/PPLCNet_x1_0_search.yaml
+1
-1
ppcls/configs/PULC/traffic_sign/SwinTransformer_tiny_patch4_window7_224.yaml
...traffic_sign/SwinTransformer_tiny_patch4_window7_224.yaml
+1
-1
ppcls/utils/PULC/text_image_orientation_label_list.txt
ppcls/utils/PULC/text_image_orientation_label_list.txt
+0
-4
ppcls/utils/PULC_label_list/language_classification_label_list.txt
...ls/PULC_label_list/language_classification_label_list.txt
+0
-0
ppcls/utils/PULC_label_list/textline_orientation_label_list.txt
...utils/PULC_label_list/textline_orientation_label_list.txt
+0
-0
未找到文件。
deploy/configs/PULC/language_classification/inference_language_classification.yaml
浏览文件 @
ab45ca9d
...
@@ -28,6 +28,6 @@ PostProcess:
...
@@ -28,6 +28,6 @@ PostProcess:
main_indicator
:
Topk
main_indicator
:
Topk
Topk
:
Topk
:
topk
:
2
topk
:
2
class_id_map_file
:
"
../
dataset/language_classification/
label_list.txt"
class_id_map_file
:
"
../
ppcls/utils/PULC_label_list/language_classification_
label_list.txt"
SavePreLabel
:
SavePreLabel
:
save_dir
:
./pre_label/
save_dir
:
./pre_label/
deploy/configs/PULC/text_image_orientation/inference_text_image_orientation.yaml
浏览文件 @
ab45ca9d
...
@@ -30,6 +30,6 @@ PostProcess:
...
@@ -30,6 +30,6 @@ PostProcess:
main_indicator
:
Topk
main_indicator
:
Topk
Topk
:
Topk
:
topk
:
2
topk
:
2
class_id_map_file
:
"
../
dataset/text_image_orientation/
label_list.txt"
class_id_map_file
:
"
../
ppcls/utils/PULC_label_list/text_image_orientation_
label_list.txt"
SavePreLabel
:
SavePreLabel
:
save_dir
:
./pre_label/
save_dir
:
./pre_label/
deploy/configs/PULC/textline_orientation/inference_textline_orientation.yaml
浏览文件 @
ab45ca9d
...
@@ -28,6 +28,6 @@ PostProcess:
...
@@ -28,6 +28,6 @@ PostProcess:
main_indicator
:
Topk
main_indicator
:
Topk
Topk
:
Topk
:
topk
:
1
topk
:
1
class_id_map_file
:
"
../ppcls/utils/PULC/textline_orientation_label_list.txt"
class_id_map_file
:
"
../ppcls/utils/PULC
_label_list
/textline_orientation_label_list.txt"
SavePreLabel
:
SavePreLabel
:
save_dir
:
./pre_label/
save_dir
:
./pre_label/
deploy/configs/PULC/
car_exists/inference_person
_exists.yaml
→
deploy/configs/PULC/
vehicle_exists/inference_vehicle
_exists.yaml
浏览文件 @
ab45ca9d
Global
:
Global
:
infer_imgs
:
"
./images/PULC/
car
_exists/objects365_00001507.jpeg"
infer_imgs
:
"
./images/PULC/
vehicle
_exists/objects365_00001507.jpeg"
inference_model_dir
:
"
./models/
car
_exists_infer"
inference_model_dir
:
"
./models/
vehicle
_exists_infer"
batch_size
:
1
batch_size
:
1
use_gpu
:
True
use_gpu
:
True
enable_mkldnn
:
False
enable_mkldnn
:
False
...
@@ -30,7 +30,7 @@ PostProcess:
...
@@ -30,7 +30,7 @@ PostProcess:
main_indicator
:
ThreshOutput
main_indicator
:
ThreshOutput
ThreshOutput
:
ThreshOutput
:
threshold
:
0.5
threshold
:
0.5
label_0
:
no
car
label_0
:
no
_vehicle
label_1
:
contains_
car
label_1
:
contains_
vehicle
SavePreLabel
:
SavePreLabel
:
save_dir
:
./pre_label/
save_dir
:
./pre_label/
deploy/images/PULC/
car
_exists/objects365_00001507.jpeg
→
deploy/images/PULC/
vehicle
_exists/objects365_00001507.jpeg
浏览文件 @
ab45ca9d
文件已移动
deploy/images/PULC/
car
_exists/objects365_00001521.jpeg
→
deploy/images/PULC/
vehicle
_exists/objects365_00001521.jpeg
浏览文件 @
ab45ca9d
文件已移动
docs/zh_CN/PULC/PULC_language_classification.md
浏览文件 @
ab45ca9d
# PULC语种分类模型
# PULC
语种分类模型
## 目录
## 目录
-
[
1.
模型和应用场景介绍
](
#1
)
-
[
1. 模型和应用场景介绍
](
#1
)
-
[
2.
模型快速体验
](
#2
)
-
[
2. 模型快速体验
](
#2
)
-
[
2.1 安装 paddleclas
](
#2.1
)
-
[
2.1 安装 paddleclas
](
#2.1
)
-
[
2.2 预测
](
#2.2
)
-
[
2.2 预测
](
#2.2
)
-
[
3.
模型训练、评估和预测
](
#3
)
-
[
3. 模型训练、评估和预测
](
#3
)
-
[
3.1 环境配置
](
#3.1
)
-
[
3.1 环境配置
](
#3.1
)
-
[
3.2 数据准备
](
#3.2
)
-
[
3.2 数据准备
](
#3.2
)
-
[
3.2.1 数据集来源
](
#3.2.1
)
-
[
3.2.1 数据集来源
](
#3.2.1
)
...
@@ -73,14 +73,14 @@ pip3 install paddleclas
...
@@ -73,14 +73,14 @@ pip3 install paddleclas
-
使用命令行快速预测
-
使用命令行快速预测
```
```
paddleclas --model_name=language_classification --infer_imgs=deploy/images/PULC/language_classification/
img_rot0_demo.jp
g
paddleclas --model_name=language_classification --infer_imgs=deploy/images/PULC/language_classification/
word_35404.pn
g
```
```
结果如下:
结果如下:
```
```
>>> result
>>> result
class_ids: [4,
9], scores: [0.96809, 0.01001], label_names: ['japan', 'lati
n'], filename: deploy/images/PULC/language_classification/word_35404.png
class_ids: [4,
6], scores: [0.88672, 0.01434], label_names: ['japan', 'korea
n'], filename: deploy/images/PULC/language_classification/word_35404.png
Predict complete!
Predict complete!
```
```
...
@@ -99,7 +99,7 @@ print(next(result))
...
@@ -99,7 +99,7 @@ print(next(result))
```
```
>>> result
>>> result
[{'class_ids': [4,
9], 'scores': [0.96809, 0.01001], 'label_names': ['japan', 'latin'], 'filename': '
deploy/images/PULC/language_classification/word_35404.png'}]
[{'class_ids': [4,
6], 'scores': [0.88672, 0.01434], 'label_names': ['japan', 'korean'], 'filename': '/
deploy/images/PULC/language_classification/word_35404.png'}]
```
```
<a
name=
"3"
></a>
<a
name=
"3"
></a>
...
...
docs/zh_CN/PULC/PULC_text_image_orientation.md
浏览文件 @
ab45ca9d
# PULC含文字图像方向分类模型
# PULC
含文字图像方向分类模型
## 目录
## 目录
-
[
1.
模型和应用场景介绍
](
#1
)
-
[
1. 模型和应用场景介绍
](
#1
)
-
[
2.
模型快速体验
](
#2
)
-
[
2. 模型快速体验
](
#2
)
-
[
2.1 安装 paddleclas
](
#2.1
)
-
[
2.1 安装 paddleclas
](
#2.1
)
-
[
2.2 预测
](
#2.2
)
-
[
2.2 预测
](
#2.2
)
-
[
3. 模型训练、评估和预测
](
#3
)
-
[
3. 模型训练、评估和预测
](
#3
)
-
[
3.1 环境配置
](
#3.1
)
-
[
3.1 环境配置
](
#3.1
)
-
[
3.2 数据准备
](
#3.2
)
-
[
3.2 数据准备
](
#3.2
)
-
[
3.2.1 数据集来源
](
#3.2.1
)
-
[
3.2.1 数据集来源
](
#3.2.1
)
...
...
docs/zh_CN/PULC/PULC_traffic_sign.md
浏览文件 @
ab45ca9d
...
@@ -78,13 +78,13 @@ pip3 install paddlepaddle paddleclas
...
@@ -78,13 +78,13 @@ pip3 install paddlepaddle paddleclas
*
使用命令行快速预测
*
使用命令行快速预测
```
bash
```
bash
paddleclas
--model_name
traffic_sign
--infer_imgs
PaddleClas/
deploy/images/PULC/traffic_sign/100999_83928.jpg
paddleclas
--model_name
traffic_sign
--infer_imgs
deploy/images/PULC/traffic_sign/100999_83928.jpg
```
```
结果如下:
结果如下:
```
```
>>> result
>>> result
class_ids: [182, 179, 162, 128, 24], scores: [0.98623, 0.01255, 0.00022, 0.00021, 0.00012], label_names: ['pl110', 'pl100', 'pl120', 'p26', 'pm10'], filename:
PaddleClas/
deploy/images/PULC/traffic_sign/100999_83928.jpg
class_ids: [182, 179, 162, 128, 24], scores: [0.98623, 0.01255, 0.00022, 0.00021, 0.00012], label_names: ['pl110', 'pl100', 'pl120', 'p26', 'pm10'], filename: deploy/images/PULC/traffic_sign/100999_83928.jpg
```
```
**备注**
: 更换其他预测的数据时,只需要改变
`--infer_imgs=xx`
中的字段即可,支持传入整个文件夹。
**备注**
: 更换其他预测的数据时,只需要改变
`--infer_imgs=xx`
中的字段即可,支持传入整个文件夹。
...
@@ -94,7 +94,7 @@ class_ids: [182, 179, 162, 128, 24], scores: [0.98623, 0.01255, 0.00022, 0.00021
...
@@ -94,7 +94,7 @@ class_ids: [182, 179, 162, 128, 24], scores: [0.98623, 0.01255, 0.00022, 0.00021
```
python
```
python
import
paddleclas
import
paddleclas
model
=
paddleclas
.
PaddleClas
(
model_name
=
"traffic_sign"
)
model
=
paddleclas
.
PaddleClas
(
model_name
=
"traffic_sign"
)
result
=
model
.
predict
(
input_data
=
"
PaddleClas/
deploy/images/PULC/traffic_sign/100999_83928.jpg"
)
result
=
model
.
predict
(
input_data
=
"deploy/images/PULC/traffic_sign/100999_83928.jpg"
)
print
(
next
(
result
))
print
(
next
(
result
))
```
```
...
@@ -102,7 +102,7 @@ print(next(result))
...
@@ -102,7 +102,7 @@ print(next(result))
```
```
result
result
[{'class_ids': [182, 179, 162, 128, 24], 'scores': [0.98623, 0.01255, 0.00022, 0.00021, 0.00012], 'label_names': ['pl110', 'pl100', 'pl120', 'p26', 'pm10'], 'filename': '
PaddleClas/
deploy/images/PULC/traffic_sign/100999_83928.jpg'}]
[{'class_ids': [182, 179, 162, 128, 24], 'scores': [0.98623, 0.01255, 0.00022, 0.00021, 0.00012], 'label_names': ['pl110', 'pl100', 'pl120', 'p26', 'pm10'], 'filename': 'deploy/images/PULC/traffic_sign/100999_83928.jpg'}]
```
```
<a
name=
"3"
></a>
<a
name=
"3"
></a>
...
...
docs/zh_CN/PULC/PULC_vehicle_attribute.md
浏览文件 @
ab45ca9d
...
@@ -79,13 +79,13 @@ pip3 install paddlepaddle paddleclas
...
@@ -79,13 +79,13 @@ pip3 install paddlepaddle paddleclas
*
使用命令行快速预测
*
使用命令行快速预测
```
bash
```
bash
paddleclas
--model_name
vehicle_attribute
--infer_imgs
PaddleClas/
deploy/images/PULC/vehicle_attribute/0002_c002_00030670_0.jpg
paddleclas
--model_name
vehicle_attribute
--infer_imgs
deploy/images/PULC/vehicle_attribute/0002_c002_00030670_0.jpg
```
```
结果如下:
结果如下:
```
```
>>> result
>>> result
attributes: Color: (yellow, prob: 0.9893476963043213), Type: (hatchback, prob: 0.9734097719192505), output: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0], filename:
PaddleClas/
deploy/images/PULC/vehicle_attribute/0002_c002_00030670_0.jpg
attributes: Color: (yellow, prob: 0.9893476963043213), Type: (hatchback, prob: 0.9734097719192505), output: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0], filename: deploy/images/PULC/vehicle_attribute/0002_c002_00030670_0.jpg
ppcls INFO: Predict complete!
ppcls INFO: Predict complete!
```
```
...
@@ -96,7 +96,7 @@ ppcls INFO: Predict complete!
...
@@ -96,7 +96,7 @@ ppcls INFO: Predict complete!
```
python
```
python
import
paddleclas
import
paddleclas
model
=
paddleclas
.
PaddleClas
(
model_name
=
"vehicle_attribute"
)
model
=
paddleclas
.
PaddleClas
(
model_name
=
"vehicle_attribute"
)
result
=
model
.
predict
(
input_data
=
"
PaddleClas/
deploy/images/PULC/vehicle_attribute/0002_c002_00030670_0.jpg"
)
result
=
model
.
predict
(
input_data
=
"deploy/images/PULC/vehicle_attribute/0002_c002_00030670_0.jpg"
)
print
(
next
(
result
))
print
(
next
(
result
))
```
```
...
@@ -104,7 +104,7 @@ print(next(result))
...
@@ -104,7 +104,7 @@ print(next(result))
```
```
result
result
[{'attributes': 'Color: (yellow, prob: 0.9893476963043213), Type: (hatchback, prob: 0.9734097719192505)', 'output': [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0], 'filename': '
PaddleClas/
deploy/images/PULC/vehicle_attribute/0002_c002_00030670_0.jpg'}]
[{'attributes': 'Color: (yellow, prob: 0.9893476963043213), Type: (hatchback, prob: 0.9734097719192505)', 'output': [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0], 'filename': 'deploy/images/PULC/vehicle_attribute/0002_c002_00030670_0.jpg'}]
```
```
<a
name=
"3"
></a>
<a
name=
"3"
></a>
...
...
paddleclas.py
浏览文件 @
ab45ca9d
...
@@ -178,7 +178,7 @@ IMN_MODEL_SERIES = {
...
@@ -178,7 +178,7 @@ IMN_MODEL_SERIES = {
PULC_MODEL_BASE_DOWNLOAD_URL
=
"https://paddleclas.bj.bcebos.com/models/PULC/{}_infer.tar"
PULC_MODEL_BASE_DOWNLOAD_URL
=
"https://paddleclas.bj.bcebos.com/models/PULC/{}_infer.tar"
PULC_MODELS
=
[
PULC_MODELS
=
[
"person_exists"
,
"person_attribute"
,
"safety_helmet"
,
"traffic_sign"
,
"person_exists"
,
"person_attribute"
,
"safety_helmet"
,
"traffic_sign"
,
"vehicle_exists"
,
"vehicle_attr"
,
"textline_orientation"
,
"vehicle_exists"
,
"vehicle_attr
ibute
"
,
"textline_orientation"
,
"text_image_orientation"
,
"language_classification"
"text_image_orientation"
,
"language_classification"
]
]
...
@@ -247,8 +247,10 @@ def init_config(model_type, model_name, inference_model_dir, **kwargs):
...
@@ -247,8 +247,10 @@ def init_config(model_type, model_name, inference_model_dir, **kwargs):
cfg
.
PostProcess
.
Topk
.
class_id_map_file
=
kwargs
[
cfg
.
PostProcess
.
Topk
.
class_id_map_file
=
kwargs
[
"class_id_map_file"
]
"class_id_map_file"
]
else
:
else
:
c
fg
.
PostProcess
.
Topk
.
class_id_map_file
=
os
.
path
.
relpath
(
c
lass_id_map_file_path
=
os
.
path
.
relpath
(
cfg
.
PostProcess
.
Topk
.
class_id_map_file
,
"../"
)
cfg
.
PostProcess
.
Topk
.
class_id_map_file
,
"../"
)
cfg
.
PostProcess
.
Topk
.
class_id_map_file
=
os
.
path
.
join
(
__dir__
,
class_id_map_file_path
)
if
"VehicleAttribute"
in
cfg
.
PostProcess
:
if
"VehicleAttribute"
in
cfg
.
PostProcess
:
if
"color_threshold"
in
kwargs
and
kwargs
[
"color_threshold"
]:
if
"color_threshold"
in
kwargs
and
kwargs
[
"color_threshold"
]:
cfg
.
PostProcess
.
VehicleAttribute
.
color_threshold
=
kwargs
[
cfg
.
PostProcess
.
VehicleAttribute
.
color_threshold
=
kwargs
[
...
...
ppcls/configs/PULC/language_classification/MobileNetV3_small_x0_35.yaml
浏览文件 @
ab45ca9d
...
@@ -121,7 +121,7 @@ Infer:
...
@@ -121,7 +121,7 @@ Infer:
PostProcess
:
PostProcess
:
name
:
Topk
name
:
Topk
topk
:
2
topk
:
2
class_id_map_file
:
ppcls/utils/PULC/language_classification_label_list.txt
class_id_map_file
:
ppcls/utils/PULC
_label_list
/language_classification_label_list.txt
Metric
:
Metric
:
Train
:
Train
:
...
...
ppcls/configs/PULC/language_classification/PPLCNet_x1_0.yaml
浏览文件 @
ab45ca9d
...
@@ -132,7 +132,7 @@ Infer:
...
@@ -132,7 +132,7 @@ Infer:
PostProcess
:
PostProcess
:
name
:
Topk
name
:
Topk
topk
:
2
topk
:
2
class_id_map_file
:
ppcls/utils/PULC/language_classification_label_list.txt
class_id_map_file
:
ppcls/utils/PULC
_label_list
/language_classification_label_list.txt
Metric
:
Metric
:
Train
:
Train
:
...
...
ppcls/configs/PULC/language_classification/PPLCNet_x1_0_distillation.yaml
浏览文件 @
ab45ca9d
...
@@ -152,7 +152,7 @@ Infer:
...
@@ -152,7 +152,7 @@ Infer:
PostProcess
:
PostProcess
:
name
:
Topk
name
:
Topk
topk
:
2
topk
:
2
class_id_map_file
:
ppcls/utils/PULC/language_classification_label_list.txt
class_id_map_file
:
ppcls/utils/PULC
_label_list
/language_classification_label_list.txt
Metric
:
Metric
:
Train
:
Train
:
...
@@ -161,4 +161,4 @@ Metric:
...
@@ -161,4 +161,4 @@ Metric:
topk
:
[
1
,
2
]
topk
:
[
1
,
2
]
Eval
:
Eval
:
-
TopkAcc
:
-
TopkAcc
:
topk
:
[
1
,
2
]
topk
:
[
1
,
2
]
\ No newline at end of file
ppcls/configs/PULC/language_classification/PPLCNet_x1_0_search.yaml
浏览文件 @
ab45ca9d
...
@@ -131,7 +131,7 @@ Infer:
...
@@ -131,7 +131,7 @@ Infer:
PostProcess
:
PostProcess
:
name
:
Topk
name
:
Topk
topk
:
2
topk
:
2
class_id_map_file
:
ppcls/utils/PULC/language_classification_label_list.txt
class_id_map_file
:
ppcls/utils/PULC
_label_list
/language_classification_label_list.txt
Metric
:
Metric
:
Train
:
Train
:
...
...
ppcls/configs/PULC/language_classification/SwinTransformer_tiny_patch4_window7_224.yaml
浏览文件 @
ab45ca9d
...
@@ -152,7 +152,7 @@ Infer:
...
@@ -152,7 +152,7 @@ Infer:
PostProcess
:
PostProcess
:
name
:
Topk
name
:
Topk
topk
:
2
topk
:
2
class_id_map_file
:
ppcls/utils/PULC/language_classification_label_list.txt
class_id_map_file
:
ppcls/utils/PULC
_label_list
/language_classification_label_list.txt
Metric
:
Metric
:
Eval
:
Eval
:
...
...
ppcls/configs/PULC/text_image_orientation/MobileNetV3_small_x0_35.yaml
浏览文件 @
ab45ca9d
...
@@ -121,7 +121,7 @@ Infer:
...
@@ -121,7 +121,7 @@ Infer:
PostProcess
:
PostProcess
:
name
:
Topk
name
:
Topk
topk
:
2
topk
:
2
class_id_map_file
:
ppcls/utils/PULC/text_image_orientation_label_list.txt
class_id_map_file
:
ppcls/utils/PULC
_label_list
/text_image_orientation_label_list.txt
Metric
:
Metric
:
Train
:
Train
:
...
...
ppcls/configs/PULC/text_image_orientation/PPLCNet_x1_0.yaml
浏览文件 @
ab45ca9d
...
@@ -132,7 +132,7 @@ Infer:
...
@@ -132,7 +132,7 @@ Infer:
PostProcess
:
PostProcess
:
name
:
Topk
name
:
Topk
topk
:
2
topk
:
2
class_id_map_file
:
ppcls/utils/PULC/text_image_orientation_label_list.txt
class_id_map_file
:
ppcls/utils/PULC
_label_list
/text_image_orientation_label_list.txt
Metric
:
Metric
:
Train
:
Train
:
...
...
ppcls/configs/PULC/text_image_orientation/PPLCNet_x1_0_distillation.yaml
浏览文件 @
ab45ca9d
...
@@ -152,7 +152,7 @@ Infer:
...
@@ -152,7 +152,7 @@ Infer:
PostProcess
:
PostProcess
:
name
:
Topk
name
:
Topk
topk
:
2
topk
:
2
class_id_map_file
:
ppcls/utils/PULC/text_image_orientation_label_list.txt
class_id_map_file
:
ppcls/utils/PULC
_label_list
/text_image_orientation_label_list.txt
Metric
:
Metric
:
Train
:
Train
:
...
@@ -161,4 +161,4 @@ Metric:
...
@@ -161,4 +161,4 @@ Metric:
topk
:
[
1
,
2
]
topk
:
[
1
,
2
]
Eval
:
Eval
:
-
TopkAcc
:
-
TopkAcc
:
topk
:
[
1
,
2
]
topk
:
[
1
,
2
]
\ No newline at end of file
ppcls/configs/PULC/text_image_orientation/PPLCNet_x1_0_search.yaml
浏览文件 @
ab45ca9d
...
@@ -135,7 +135,7 @@ Infer:
...
@@ -135,7 +135,7 @@ Infer:
PostProcess
:
PostProcess
:
name
:
Topk
name
:
Topk
topk
:
2
topk
:
2
class_id_map_file
:
ppcls/utils/PULC/text_image_orientation_label_list.txt
class_id_map_file
:
ppcls/utils/PULC
_label_list
/text_image_orientation_label_list.txt
Metric
:
Metric
:
Train
:
Train
:
...
...
ppcls/configs/PULC/text_image_orientation/SwinTransformer_tiny_patch4_window7_224.yaml
浏览文件 @
ab45ca9d
...
@@ -149,7 +149,7 @@ Infer:
...
@@ -149,7 +149,7 @@ Infer:
PostProcess
:
PostProcess
:
name
:
Topk
name
:
Topk
topk
:
2
topk
:
2
class_id_map_file
:
ppcls/utils/PULC/text_image_orientation_label_list.txt
class_id_map_file
:
ppcls/utils/PULC
_label_list
/text_image_orientation_label_list.txt
Metric
:
Metric
:
Eval
:
Eval
:
...
...
ppcls/configs/PULC/textline_orientation/MobileNetV3_small_x0_35.yaml
浏览文件 @
ab45ca9d
...
@@ -123,7 +123,7 @@ Infer:
...
@@ -123,7 +123,7 @@ Infer:
PostProcess
:
PostProcess
:
name
:
Topk
name
:
Topk
topk
:
1
topk
:
1
class_id_map_file
:
ppcls/utils/PULC/textline_orientation_label_list.txt
class_id_map_file
:
ppcls/utils/PULC
_label_list
/textline_orientation_label_list.txt
Metric
:
Metric
:
Train
:
Train
:
...
...
ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0.yaml
浏览文件 @
ab45ca9d
...
@@ -132,7 +132,7 @@ Infer:
...
@@ -132,7 +132,7 @@ Infer:
PostProcess
:
PostProcess
:
name
:
Topk
name
:
Topk
topk
:
1
topk
:
1
class_id_map_file
:
ppcls/utils/PULC/textline_orientation_label_list.txt
class_id_map_file
:
ppcls/utils/PULC
_label_list
/textline_orientation_label_list.txt
Metric
:
Metric
:
Train
:
Train
:
...
...
ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0_224x224.yaml
浏览文件 @
ab45ca9d
...
@@ -121,7 +121,7 @@ Infer:
...
@@ -121,7 +121,7 @@ Infer:
PostProcess
:
PostProcess
:
name
:
Topk
name
:
Topk
topk
:
1
topk
:
1
class_id_map_file
:
ppcls/utils/PULC/textline_orientation_label_list.txt
class_id_map_file
:
ppcls/utils/PULC
_label_list
/textline_orientation_label_list.txt
Metric
:
Metric
:
Train
:
Train
:
...
...
ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0_distillation.yaml
浏览文件 @
ab45ca9d
...
@@ -150,7 +150,7 @@ Infer:
...
@@ -150,7 +150,7 @@ Infer:
PostProcess
:
PostProcess
:
name
:
Topk
name
:
Topk
topk
:
1
topk
:
1
class_id_map_file
:
ppcls/utils/PULC/textline_orientation_label_list.txt
class_id_map_file
:
ppcls/utils/PULC
_label_list
/textline_orientation_label_list.txt
Metric
:
Metric
:
Train
:
Train
:
...
...
ppcls/configs/PULC/textline_orientation/PPLCNet_x1_0_search.yaml
浏览文件 @
ab45ca9d
...
@@ -133,7 +133,7 @@ Infer:
...
@@ -133,7 +133,7 @@ Infer:
PostProcess
:
PostProcess
:
name
:
Topk
name
:
Topk
topk
:
1
topk
:
1
class_id_map_file
:
ppcls/utils/PULC/textline_orientation_label_list.txt
class_id_map_file
:
ppcls/utils/PULC
_label_list
/textline_orientation_label_list.txt
Metric
:
Metric
:
Train
:
Train
:
...
...
ppcls/configs/PULC/textline_orientation/SwinTransformer_tiny_patch4_window7_224.yaml
浏览文件 @
ab45ca9d
...
@@ -153,7 +153,7 @@ Infer:
...
@@ -153,7 +153,7 @@ Infer:
PostProcess
:
PostProcess
:
name
:
Topk
name
:
Topk
topk
:
1
topk
:
1
class_id_map_file
:
ppcls/utils/PULC/textline_orientation_label_list.txt
class_id_map_file
:
ppcls/utils/PULC
_label_list
/textline_orientation_label_list.txt
Metric
:
Metric
:
Train
:
Train
:
...
...
ppcls/configs/PULC/traffic_sign/MobileNetV3_samll_x0_35.yaml
浏览文件 @
ab45ca9d
...
@@ -120,7 +120,7 @@ Infer:
...
@@ -120,7 +120,7 @@ Infer:
PostProcess
:
PostProcess
:
name
:
Topk
name
:
Topk
topk
:
5
topk
:
5
class_id_map_file
:
dataset/traffic_sign/label_name_id
.txt
class_id_map_file
:
ppcls/utils/PULC_label_list/traffic_sign_label_list
.txt
Metric
:
Metric
:
Train
:
Train
:
...
...
ppcls/configs/PULC/traffic_sign/PPLCNet_x1_0.yaml
浏览文件 @
ab45ca9d
...
@@ -137,7 +137,7 @@ Infer:
...
@@ -137,7 +137,7 @@ Infer:
PostProcess
:
PostProcess
:
name
:
Topk
name
:
Topk
topk
:
5
topk
:
5
class_id_map_file
:
dataset/traffic_sign/label_name_id
.txt
class_id_map_file
:
ppcls/utils/PULC_label_list/traffic_sign_label_list
.txt
Metric
:
Metric
:
Train
:
Train
:
...
...
ppcls/configs/PULC/traffic_sign/PPLCNet_x1_0_distillation.yaml
浏览文件 @
ab45ca9d
...
@@ -160,7 +160,7 @@ Infer:
...
@@ -160,7 +160,7 @@ Infer:
PostProcess
:
PostProcess
:
name
:
Topk
name
:
Topk
topk
:
5
topk
:
5
class_id_map_file
:
dataset/traffic_sign/label_name_id
.txt
class_id_map_file
:
ppcls/utils/PULC_label_list/traffic_sign_label_list
.txt
Metric
:
Metric
:
Train
:
Train
:
...
...
ppcls/configs/PULC/traffic_sign/PPLCNet_x1_0_search.yaml
浏览文件 @
ab45ca9d
...
@@ -138,7 +138,7 @@ Infer:
...
@@ -138,7 +138,7 @@ Infer:
PostProcess
:
PostProcess
:
name
:
Topk
name
:
Topk
topk
:
5
topk
:
5
class_id_map_file
:
dataset/traffic_sign/label_name_id
.txt
class_id_map_file
:
ppcls/utils/PULC_label_list/traffic_sign_label_list
.txt
Metric
:
Metric
:
Train
:
Train
:
...
...
ppcls/configs/PULC/traffic_sign/SwinTransformer_tiny_patch4_window7_224.yaml
浏览文件 @
ab45ca9d
...
@@ -157,7 +157,7 @@ Infer:
...
@@ -157,7 +157,7 @@ Infer:
PostProcess
:
PostProcess
:
name
:
Topk
name
:
Topk
topk
:
5
topk
:
5
class_id_map_file
:
dataset/traffic_sign/label_name_id
.txt
class_id_map_file
:
ppcls/utils/PULC_label_list/traffic_sign_label_list
.txt
Metric
:
Metric
:
Train
:
Train
:
...
...
ppcls/utils/PULC/text_image_orientation_label_list.txt
已删除
100644 → 0
浏览文件 @
36abcd62
0 0
1 90
2 180
3 270
ppcls/utils/PULC/language_classification_label_list.txt
→
ppcls/utils/PULC
_label_list
/language_classification_label_list.txt
浏览文件 @
ab45ca9d
文件已移动
ppcls/utils/PULC/textline_orientation_label_list.txt
→
ppcls/utils/PULC
_label_list
/textline_orientation_label_list.txt
浏览文件 @
ab45ca9d
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录