Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleOCR
提交
ea557c50
P
PaddleOCR
项目概览
PaddlePaddle
/
PaddleOCR
大约 1 年 前同步成功
通知
1528
Star
32962
Fork
6643
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
108
列表
看板
标记
里程碑
合并请求
7
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleOCR
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
108
Issue
108
列表
看板
标记
里程碑
合并请求
7
合并请求
7
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
ea557c50
编写于
10月 17, 2022
作者:
D
dorren
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update config
上级
e410d2e1
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
9 addition
and
10 deletion
+9
-10
configs/rec/rec_d28_can.yml
configs/rec/rec_d28_can.yml
+2
-5
ppocr/modeling/backbones/rec_densenet.py
ppocr/modeling/backbones/rec_densenet.py
+5
-0
test_tipc/configs/rec_d28_can/rec_d28_can.yml
test_tipc/configs/rec_d28_can/rec_d28_can.yml
+2
-5
未找到文件。
configs/rec/rec_d28_can.yml
浏览文件 @
ea557c50
...
@@ -66,7 +66,6 @@ Loss:
...
@@ -66,7 +66,6 @@ Loss:
PostProcess
:
PostProcess
:
name
:
CANLabelDecode
name
:
CANLabelDecode
character_dict_path
:
ppocr/utils/dict/latex_symbol_dict.txt
Metric
:
Metric
:
name
:
CANMetric
name
:
CANMetric
...
@@ -76,6 +75,7 @@ Train:
...
@@ -76,6 +75,7 @@ Train:
dataset
:
dataset
:
name
:
SimpleDataSet
name
:
SimpleDataSet
data_dir
:
./train_data/CROHME/training/images/
data_dir
:
./train_data/CROHME/training/images/
label_file_list
:
[
"
./train_data/CROHME/training/labels.txt"
]
transforms
:
transforms
:
-
DecodeImage
:
-
DecodeImage
:
channel_first
:
False
channel_first
:
False
...
@@ -86,11 +86,9 @@ Train:
...
@@ -86,11 +86,9 @@ Train:
-
GrayImageChannelFormat
:
-
GrayImageChannelFormat
:
inverse
:
True
inverse
:
True
-
CANLabelEncode
:
-
CANLabelEncode
:
character_dict_path
:
ppocr/utils/dict/latex_symbol_dict.txt
lower
:
False
lower
:
False
-
KeepKeys
:
-
KeepKeys
:
keep_keys
:
[
'
image'
,
'
label'
]
keep_keys
:
[
'
image'
,
'
label'
]
label_file_list
:
[
"
./train_data/CROHME/training/labels.txt"
]
loader
:
loader
:
shuffle
:
True
shuffle
:
True
batch_size_per_card
:
8
batch_size_per_card
:
8
...
@@ -102,6 +100,7 @@ Eval:
...
@@ -102,6 +100,7 @@ Eval:
dataset
:
dataset
:
name
:
SimpleDataSet
name
:
SimpleDataSet
data_dir
:
./train_data/CROHME/evaluation/images/
data_dir
:
./train_data/CROHME/evaluation/images/
label_file_list
:
[
"
./train_data/CROHME/evaluation/labels.txt"
]
transforms
:
transforms
:
-
DecodeImage
:
-
DecodeImage
:
channel_first
:
False
channel_first
:
False
...
@@ -112,11 +111,9 @@ Eval:
...
@@ -112,11 +111,9 @@ Eval:
-
GrayImageChannelFormat
:
-
GrayImageChannelFormat
:
inverse
:
True
inverse
:
True
-
CANLabelEncode
:
-
CANLabelEncode
:
character_dict_path
:
ppocr/utils/dict/latex_symbol_dict.txt
lower
:
False
lower
:
False
-
KeepKeys
:
-
KeepKeys
:
keep_keys
:
[
'
image'
,
'
label'
]
keep_keys
:
[
'
image'
,
'
label'
]
label_file_list
:
[
"
./train_data/CROHME/evaluation/labels.txt"
]
loader
:
loader
:
shuffle
:
False
shuffle
:
False
drop_last
:
False
drop_last
:
False
...
...
ppocr/modeling/backbones/rec_densenet.py
浏览文件 @
ea557c50
...
@@ -11,6 +11,11 @@
...
@@ -11,6 +11,11 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
"""
This code is refer from:
https://github.com/LBH1024/CAN/models/densenet.py
"""
from
__future__
import
absolute_import
from
__future__
import
absolute_import
from
__future__
import
division
from
__future__
import
division
...
...
test_tipc/configs/rec_d28_can/rec_d28_can.yml
浏览文件 @
ea557c50
...
@@ -66,7 +66,6 @@ Loss:
...
@@ -66,7 +66,6 @@ Loss:
PostProcess
:
PostProcess
:
name
:
CANLabelDecode
name
:
CANLabelDecode
character_dict_path
:
ppocr/utils/dict/latex_symbol_dict.txt
Metric
:
Metric
:
name
:
CANMetric
name
:
CANMetric
...
@@ -76,6 +75,7 @@ Train:
...
@@ -76,6 +75,7 @@ Train:
dataset
:
dataset
:
name
:
SimpleDataSet
name
:
SimpleDataSet
data_dir
:
./train_data/CROHME_lite/training/images/
data_dir
:
./train_data/CROHME_lite/training/images/
label_file_list
:
[
"
./train_data/CROHME_lite/training/labels.txt"
]
transforms
:
transforms
:
-
DecodeImage
:
-
DecodeImage
:
channel_first
:
False
channel_first
:
False
...
@@ -86,11 +86,9 @@ Train:
...
@@ -86,11 +86,9 @@ Train:
-
GrayImageChannelFormat
:
-
GrayImageChannelFormat
:
inverse
:
True
inverse
:
True
-
CANLabelEncode
:
-
CANLabelEncode
:
character_dict_path
:
ppocr/utils/dict/latex_symbol_dict.txt
lower
:
False
lower
:
False
-
KeepKeys
:
-
KeepKeys
:
keep_keys
:
[
'
image'
,
'
label'
]
keep_keys
:
[
'
image'
,
'
label'
]
label_file_list
:
[
"
./train_data/CROHME_lite/training/labels.txt"
]
loader
:
loader
:
shuffle
:
True
shuffle
:
True
batch_size_per_card
:
8
batch_size_per_card
:
8
...
@@ -102,6 +100,7 @@ Eval:
...
@@ -102,6 +100,7 @@ Eval:
dataset
:
dataset
:
name
:
SimpleDataSet
name
:
SimpleDataSet
data_dir
:
./train_data/CROHME_lite/evaluation/images/
data_dir
:
./train_data/CROHME_lite/evaluation/images/
label_file_list
:
[
"
./train_data/CROHME_lite/evaluation/labels.txt"
]
transforms
:
transforms
:
-
DecodeImage
:
-
DecodeImage
:
channel_first
:
False
channel_first
:
False
...
@@ -112,11 +111,9 @@ Eval:
...
@@ -112,11 +111,9 @@ Eval:
-
GrayImageChannelFormat
:
-
GrayImageChannelFormat
:
inverse
:
True
inverse
:
True
-
CANLabelEncode
:
-
CANLabelEncode
:
character_dict_path
:
ppocr/utils/dict/latex_symbol_dict.txt
lower
:
False
lower
:
False
-
KeepKeys
:
-
KeepKeys
:
keep_keys
:
[
'
image'
,
'
label'
]
keep_keys
:
[
'
image'
,
'
label'
]
label_file_list
:
[
"
./train_data/CROHME_lite/evaluation/labels.txt"
]
loader
:
loader
:
shuffle
:
False
shuffle
:
False
drop_last
:
False
drop_last
:
False
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录