Open
Conversation
github.com:Oneflow-Inc/vision into add-SEModule-doc add SEModule docstring
rentainhe
reviewed
Jun 6, 2022
| _C.MODEL = CN() | ||
| # Model arch | ||
| _C.MODEL.ARCH = "swin_tiny_patch4_window7_224" | ||
| _C.MODEL.ARCH = "resnet50" |
Contributor
There was a problem hiding this comment.
可以通过外部的.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 |
Contributor
There was a problem hiding this comment.
这部分不用注释,可以仔细看一下optimizer.py里的build_optimizer函数, 里面会进行一些判断
| # Random erase mode | ||
| _C.AUG.REMODE = "pixel" | ||
| # Scale | ||
| _C.AUG.SCALE = [0.08, 1.0] |
� Conflicts: � docs/source/flowvision.layers.rst � flowvision/layers/attention/se.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ResNet-50 训练
参照当前 vision 下的 project 复现 resnet-50 训练和精度对齐。
参考
主要目标
项目负责人:林松
预计完成时间:2022.05.27
相关 PR