-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ResNet-50 训练 #222
base: main
Are you sure you want to change the base?
ResNet-50 训练 #222
Conversation
github.com:Oneflow-Inc/vision into add-SEModule-doc add SEModule docstring
@@ -40,7 +40,7 @@ | |||
# ----------------------------------------------------------------------------- | |||
_C.MODEL = CN() | |||
# Model arch | |||
_C.MODEL.ARCH = "swin_tiny_patch4_window7_224" | |||
_C.MODEL.ARCH = "resnet50" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以通过外部的.yaml
的config来覆盖这里的config, 我记得在/configs
文件夹下有相关的参考
_C.TRAIN.OPTIMIZER.BETAS = (0.9, 0.999) | ||
_C.TRAIN.OPTIMIZER.NAME = "sgd" | ||
# # Optimizer Epsilon | ||
# _C.TRAIN.OPTIMIZER.EPS = 1e-8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这部分不用注释,可以仔细看一下optimizer.py里的build_optimizer
函数, 里面会进行一些判断
@@ -110,12 +112,22 @@ | |||
_C.AUG.REPROB = 0.25 | |||
# Random erase mode | |||
_C.AUG.REMODE = "pixel" | |||
# Scale | |||
_C.AUG.SCALE = [0.08, 1.0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这些部分建议还是用外部的.yaml
进行覆盖
� Conflicts: � docs/source/flowvision.layers.rst � flowvision/layers/attention/se.py
ResNet-50 训练
参照当前 vision 下的 project 复现 resnet-50 训练和精度对齐。
参考
主要目标
项目负责人:林松
预计完成时间:2022.05.27
相关 PR