Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleClas
提交
52d13f59
P
PaddleClas
项目概览
PaddlePaddle
/
PaddleClas
大约 1 年 前同步成功
通知
115
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看板
未验证
提交
52d13f59
编写于
11月 04, 2021
作者:
C
cuicheng01
提交者:
GitHub
11月 04, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1397 from cuicheng01/develop
Update codes
上级
d1d818f5
08952deb
变更
15
隐藏空白更改
内联
并排
Showing
15 changed file
with
56 addition
and
7 deletion
+56
-7
ppcls/arch/backbone/model_zoo/distilled_vision_transformer.py
...s/arch/backbone/model_zoo/distilled_vision_transformer.py
+2
-0
ppcls/arch/backbone/model_zoo/dla.py
ppcls/arch/backbone/model_zoo/dla.py
+2
-0
ppcls/arch/backbone/model_zoo/efficientnet.py
ppcls/arch/backbone/model_zoo/efficientnet.py
+16
-0
ppcls/arch/backbone/model_zoo/ghostnet.py
ppcls/arch/backbone/model_zoo/ghostnet.py
+2
-0
ppcls/arch/backbone/model_zoo/gvt.py
ppcls/arch/backbone/model_zoo/gvt.py
+2
-0
ppcls/arch/backbone/model_zoo/hardnet.py
ppcls/arch/backbone/model_zoo/hardnet.py
+2
-0
ppcls/arch/backbone/model_zoo/levit.py
ppcls/arch/backbone/model_zoo/levit.py
+2
-0
ppcls/arch/backbone/model_zoo/rednet.py
ppcls/arch/backbone/model_zoo/rednet.py
+2
-0
ppcls/arch/backbone/model_zoo/regnet.py
ppcls/arch/backbone/model_zoo/regnet.py
+2
-0
ppcls/arch/backbone/model_zoo/repvgg.py
ppcls/arch/backbone/model_zoo/repvgg.py
+16
-0
ppcls/arch/backbone/model_zoo/resnest.py
ppcls/arch/backbone/model_zoo/resnest.py
+2
-0
ppcls/arch/backbone/model_zoo/swin_transformer.py
ppcls/arch/backbone/model_zoo/swin_transformer.py
+2
-1
ppcls/arch/backbone/model_zoo/tnt.py
ppcls/arch/backbone/model_zoo/tnt.py
+2
-0
ppcls/data/preprocess/ops/operators.py
ppcls/data/preprocess/ops/operators.py
+0
-2
ppcls/data/preprocess/ops/timm_autoaugment.py
ppcls/data/preprocess/ops/timm_autoaugment.py
+2
-4
未找到文件。
ppcls/arch/backbone/model_zoo/distilled_vision_transformer.py
浏览文件 @
52d13f59
...
...
@@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Code was heavily based on https://github.com/facebookresearch/deit
import
paddle
import
paddle.nn
as
nn
from
.vision_transformer
import
VisionTransformer
,
Identity
,
trunc_normal_
,
zeros_
...
...
ppcls/arch/backbone/model_zoo/dla.py
浏览文件 @
52d13f59
...
...
@@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Code was based on https://github.com/ucbdrive/dla
import
math
import
paddle
...
...
ppcls/arch/backbone/model_zoo/efficientnet.py
浏览文件 @
52d13f59
# copyright (c) 2021 PaddlePaddle Authors. All Rights Reserve.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Code was based on https://github.com/lukemelas/EfficientNet-PyTorch
import
paddle
from
paddle
import
ParamAttr
import
paddle.nn
as
nn
...
...
ppcls/arch/backbone/model_zoo/ghostnet.py
浏览文件 @
52d13f59
...
...
@@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Code was based on https://github.com/huawei-noah/CV-Backbones/tree/master/ghostnet_pytorch
import
math
import
paddle
from
paddle
import
ParamAttr
...
...
ppcls/arch/backbone/model_zoo/gvt.py
浏览文件 @
52d13f59
...
...
@@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Code was based on https://github.com/Meituan-AutoML/Twins
from
functools
import
partial
import
paddle
...
...
ppcls/arch/backbone/model_zoo/hardnet.py
浏览文件 @
52d13f59
...
...
@@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Code was based on https://github.com/PingoLH/Pytorch-HarDNet
import
paddle
import
paddle.nn
as
nn
...
...
ppcls/arch/backbone/model_zoo/levit.py
浏览文件 @
52d13f59
...
...
@@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Code was based on https://github.com/facebookresearch/LeViT
import
itertools
import
math
import
warnings
...
...
ppcls/arch/backbone/model_zoo/rednet.py
浏览文件 @
52d13f59
...
...
@@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Code was based on https://github.com/d-li14/involution
import
paddle
import
paddle.nn
as
nn
...
...
ppcls/arch/backbone/model_zoo/regnet.py
浏览文件 @
52d13f59
...
...
@@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Code was based on https://github.com/facebookresearch/pycls
from
__future__
import
absolute_import
from
__future__
import
division
from
__future__
import
print_function
...
...
ppcls/arch/backbone/model_zoo/repvgg.py
浏览文件 @
52d13f59
# copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Code was based on https://github.com/DingXiaoH/RepVGG
import
paddle.nn
as
nn
import
paddle
import
numpy
as
np
...
...
ppcls/arch/backbone/model_zoo/resnest.py
浏览文件 @
52d13f59
...
...
@@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Code was based on https://github.com/zhanghang1989/ResNeSt
from
__future__
import
absolute_import
from
__future__
import
division
from
__future__
import
print_function
...
...
ppcls/arch/backbone/model_zoo/swin_transformer.py
浏览文件 @
52d13f59
...
...
@@ -11,7 +11,8 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Reference: https://github.com/microsoft/Swin-Transformer
# Code was based on https://github.com/microsoft/Swin-Transformer
import
numpy
as
np
import
paddle
...
...
ppcls/arch/backbone/model_zoo/tnt.py
浏览文件 @
52d13f59
...
...
@@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Code was based on https://github.com/huawei-noah/CV-Backbones/tree/master/tnt_pytorch
import
math
import
numpy
as
np
...
...
ppcls/data/preprocess/ops/operators.py
浏览文件 @
52d13f59
"""
# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
...
...
@@ -12,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""
from
__future__
import
absolute_import
from
__future__
import
division
...
...
ppcls/data/preprocess/ops/timm_autoaugment.py
浏览文件 @
52d13f59
...
...
@@ -11,10 +11,8 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""
This code implements is borrowed from Timm: https://github.com/rwightman/pytorch-image-models.
hacked together by / Copyright 2020 Ross Wightman
"""
# Code was heavily based on https://github.com/rwightman/pytorch-image-models
import
random
import
math
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录