• Docs >
  • 模块代码 >
  • stylegan2_c2_PL_R1_8xb4_apex_fp16_no_scaler_800kiters_ffhq_256x256
Shortcuts

stylegan2_c2_PL_R1_8xb4_apex_fp16_no_scaler_800kiters_ffhq_256x256 源代码

# Copyright (c) OpenMMLab. All rights reserved.
from mmengine.config import read_base

with read_base():
    from mmagic.configs.styleganv2.stylegan2_c2_8xb4_800kiters_ffhq_256x256 import *

model.update(loss_config=dict(r1_use_apex_amp=False, g_reg_use_apex_amp=False))

train_cfg.update(max_iters=800002)

# remain to be refactored
[文档]apex_amp = dict(mode='gan', init_args=dict(opt_level='O1', num_losses=2))
[文档]resume_from = None
Read the Docs v: latest
Versions
latest
stable
0.x
Downloads
pdf
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.