未验证 提交 fcd1bc67 编写于 作者: C cuicheng01 提交者: GitHub

Merge pull request #1416 from TingquanGao/2.3/update_qr

[cherry-pick] docs: add reference link
docs/images/wx_group.png

203.7 KB | W: | H:

docs/images/wx_group.png

204.9 KB | W: | H:

docs/images/wx_group.png
docs/images/wx_group.png
docs/images/wx_group.png
docs/images/wx_group.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -57,7 +57,10 @@ class BatchOperator(object): ...@@ -57,7 +57,10 @@ class BatchOperator(object):
class MixupOperator(BatchOperator): class MixupOperator(BatchOperator):
""" Mixup operator """ """ Mixup operator
reference: https://arxiv.org/abs/1710.09412
"""
def __init__(self, class_num, alpha: float=1.): def __init__(self, class_num, alpha: float=1.):
"""Build Mixup operator """Build Mixup operator
...@@ -90,7 +93,10 @@ class MixupOperator(BatchOperator): ...@@ -90,7 +93,10 @@ class MixupOperator(BatchOperator):
class CutmixOperator(BatchOperator): class CutmixOperator(BatchOperator):
""" Cutmix operator """ """ Cutmix operator
reference: https://arxiv.org/abs/1905.04899
"""
def __init__(self, class_num, alpha=0.2): def __init__(self, class_num, alpha=0.2):
"""Build Cutmix operator """Build Cutmix operator
...@@ -146,7 +152,10 @@ class CutmixOperator(BatchOperator): ...@@ -146,7 +152,10 @@ class CutmixOperator(BatchOperator):
class FmixOperator(BatchOperator): class FmixOperator(BatchOperator):
""" Fmix operator """ """ Fmix operator
reference: https://arxiv.org/abs/2002.12047
"""
def __init__(self, def __init__(self,
class_num, class_num,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册