资源算法mixup_mxnet

mixup_mxnet

2020-01-17 | |  65 |   0 |   0

mixup_mxnet

This is a unofficial MXNet implementation of mixup method.

Usage

1.simple example to train cifar10

python mixup_scratch.py

2.train cifar10 with multi gpus

usage: mixup_scratch_cmd.py [-h] [--lr LR] [--batch_size BATCH_SIZE]
[--epochs EPOCHS] [--num_classes NUM_CLASSES]
[--use_mixup] [--alpha ALPHA]

mxnet CIFAR10 Training

optional arguments:

--h, --help                    show this help message and exit
--lr LR                        learning rate
--batch_size BATCH_SIZE        batch size
--epochs EPOCHS                train epoches
--num_classes NUM_CLASSES      number of classes
--use_mixup                    whether to use mixup or not
--alpha ALPHA                  Beta distributed parmas

paper: mixup: BEYOND EMPIRICAL RISK MINIMIZATION

Reference:


上一篇:keras_mixup_generator

下一篇:WideResNet-pytorch

用户评价
全部评价

热门资源

  • DuReader_QANet_BiDAF

    Machine Reading Comprehension on DuReader Usin...

  • ETD_cataloguing_a...

    ETD catalouging project using allennlp

  • allennlp_extras

    allennlp_extras Some utilities build on top of...

  • allennlp-dureader

    An Apache 2.0 NLP research library, built on Py...

  • honk-honk-motherf...

    honk-honk-motherfucker