Skip to content
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

Update 1_config.md #3788

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/zh_cn/user_guides/1_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ val_dataloader = dict(
batch_size=1, # 每一个GPU的batch size大小
num_workers=4, # 为每一个GPU预读取数据的进程个数

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJM4Sptsl6Di8qMSDbBHsR1GQ7MOBA+0kBYvTT5PT8CV

persistent_workers=True, # 在一个epoch结束后关闭worker进程,可以加快训练速度
sampler=dict(type='DefaultSampler', shuffle=False), # 训练时不进行随机洗牌(shuffle)
sampler=dict(type='DefaultSampler', shuffle=False), # 测试时不进行随机洗牌(shuffle)
dataset=dict( # 测试数据集配置
type=dataset_type, # 数据集类型,详见mmseg/datassets/
data_root=data_root, # 数据集的根目录
Expand Down