资源算法mixup_mxnet

mixup_mxnet

2020-01-17 | |  47 |   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

用户评价
全部评价

热门资源

  • TensorFlow-Course

    This repository aims to provide simple and read...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • mxnet_VanillaCNN

    This is a mxnet implementation of the Vanilla C...

  • DuReader_QANet_BiDAF

    Machine Reading Comprehension on DuReader Usin...

  • Klukshu-Sockeye-...

    KLUKSHU SOCKEYE PROJECTS 2016 This repositor...