Files
ColossalAI/examples/simclr_cifar10_data_parallel/le_config.py
アマデウス 0fedef4f3c Layer integration (#83)
* integrated parallel layers for ease of building models

* integrated 2.5d layers

* cleaned codes and unit tests

* added log metric by step hook; updated imagenet benchmark; fixed some bugs

* reworked initialization; cleaned codes

Co-authored-by: BoxiangW <45734921+BoxiangW@users.noreply.github.com>
2021-12-27 15:04:32 +08:00

24 lines
310 B
Python
Executable File

from colossalai.amp import AMP_TYPE
LOG_NAME = 'cifar-simclr'
EPOCH = 800
BATCH_SIZE = 512
NUM_EPOCHS = 51
LEARNING_RATE = 0.03*BATCH_SIZE/256
WEIGHT_DECAY = 0.0005
MOMENTUM = 0.9
fp16 = dict(
mode=AMP_TYPE.TORCH,
)
dataset = dict(
root='./dataset',
)
gradient_accumulation=1
clip_grad_norm=1.0