Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleClas
提交
a226a058
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看板
未验证
提交
a226a058
编写于
5月 27, 2022
作者:
C
cuicheng01
提交者:
GitHub
5月 27, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'PaddlePaddle:develop' into develop
上级
c870befb
bd2869de
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
11 addition
and
4 deletion
+11
-4
README_ch.md
README_ch.md
+5
-1
docs/zh_CN/samples/Personnel_Access/README.md
docs/zh_CN/samples/Personnel_Access/README.md
+1
-1
ppcls/metric/metrics.py
ppcls/metric/metrics.py
+1
-2
ppcls/utils/misc.py
ppcls/utils/misc.py
+4
-0
未找到文件。
README_ch.md
浏览文件 @
a226a058
...
...
@@ -7,7 +7,11 @@
飞桨图像识别套件PaddleClas是飞桨为工业界和学术界所准备的一个图像识别任务的工具集,助力使用者训练出更好的视觉模型和应用落地。
**近期更新**
-
2022.5.23 新增
[
人员出入管理范例库
](
https://aistudio.baidu.com/aistudio/projectdetail/4037898
)
,具体内容可以在 AI Stuio 上体验。
-
🔥️ 2022.5.26
[
飞桨产业实践范例直播课
](
http://aglc.cn/v-c4FAR
)
,解读
**超轻量重点区域人员出入管理方案**
,欢迎报名来交流。
<div
align=
"center"
>
<img
src=
"https://user-images.githubusercontent.com/80816848/170166458-767a01ca-1429-437f-a628-dd184732ef53.png"
width =
"150"
/>
</div>
-
2022.5.23 新增
[
人员出入管理范例库
](
https://aistudio.baidu.com/aistudio/projectdetail/4094475
)
,具体内容可以在 AI Stuio 上体验。
-
2022.5.20 上线
[
PP-HGNet
](
./docs/zh_CN/models/PP-HGNet.md
)
,
[
PP-LCNet v2
](
./docs/zh_CN/models/PP-LCNetV2.md
)
-
2022.4.21 新增 CVPR2022 oral论文
[
MixFormer
](
https://arxiv.org/pdf/2204.02557.pdf
)
相关
[
代码
](
https://github.com/PaddlePaddle/PaddleClas/pull/1820/files
)
。
-
2022.1.27 全面升级文档;新增
[
PaddleServing C++ pipeline部署方式
](
./deploy/paddleserving
)
和
[
18M图像识别安卓部署Demo
](
./deploy/lite_shitu
)
。
...
...
docs/zh_CN/samples/Personnel_Access/README.md
浏览文件 @
a226a058
...
...
@@ -13,4 +13,4 @@

**注**
: AI Studio在线运行代码请参考
[
人员出入管理
](
https://aistudio.baidu.com/aistudio/projectdetail/40
37898
)
**注**
: AI Studio在线运行代码请参考
[
人员出入管理
](
https://aistudio.baidu.com/aistudio/projectdetail/40
94475
)
ppcls/metric/metrics.py
浏览文件 @
a226a058
...
...
@@ -51,8 +51,7 @@ class TopkAcc(AvgMetrics):
for
k
in
self
.
topk
:
metric_dict
[
"top{}"
.
format
(
k
)]
=
paddle
.
metric
.
accuracy
(
x
,
label
,
k
=
k
)
self
.
avg_meters
[
"top{}"
.
format
(
k
)].
update
(
metric_dict
[
"top{}"
.
format
(
k
)].
numpy
()[
0
],
x
.
shape
[
0
])
self
.
avg_meters
[
"top{}"
.
format
(
k
)].
update
(
metric_dict
[
"top{}"
.
format
(
k
)],
x
.
shape
[
0
])
return
metric_dict
...
...
ppcls/utils/misc.py
浏览文件 @
a226a058
...
...
@@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import
paddle
__all__
=
[
'AverageMeter'
]
...
...
@@ -44,6 +46,8 @@ class AverageMeter(object):
@
property
def
avg_info
(
self
):
if
isinstance
(
self
.
avg
,
paddle
.
Tensor
):
self
.
avg
=
self
.
avg
.
numpy
()[
0
]
return
"{}: {:.5f}"
.
format
(
self
.
name
,
self
.
avg
)
@
property
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录