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
RepViT-optimize_pytorch
Commits
4df393ca
Commit
4df393ca
authored
Jun 26, 2024
by
chenzk
Browse files
v1.0.4
parent
c6e7a5ad
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
model.properties
model.properties
+1
-1
model/repvit.py
model/repvit.py
+0
-1
No files found.
model.properties
View file @
4df393ca
...
@@ -5,6 +5,6 @@ modelName=repvit-optimize_pytorch
...
@@ -5,6 +5,6 @@ modelName=repvit-optimize_pytorch
# 模型描述
# 模型描述
modelDescription
=
RepViT在iPhone 12上以1ms的延迟实现了超过80%的top-1准确率,本算法基于RepViT进一步优化后准确率超过82%。
modelDescription
=
RepViT在iPhone 12上以1ms的延迟实现了超过80%的top-1准确率,本算法基于RepViT进一步优化后准确率超过82%。
# 应用场景
# 应用场景
appScenario
=
训练,
图像分类,
制造,电商,医疗,能源,教育
appScenario
=
训练,制造,电商,医疗,能源,教育
# 框架类型
# 框架类型
frameType
=
pytorch
frameType
=
pytorch
model/repvit.py
View file @
4df393ca
import
torch.nn
as
nn
import
torch.nn
as
nn
import
torch.nn.functional
as
F
import
torch.nn.functional
as
F
from
.triplet_attention
import
*
def
_make_divisible
(
v
,
divisor
,
min_value
=
None
):
def
_make_divisible
(
v
,
divisor
,
min_value
=
None
):
"""
"""
...
...
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