资源算法mixup_mxnet

mixup_mxnet

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

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

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

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...