Completed
Push — master ( dd90e0...a0f7c0 )
by Bart
22s
created

fuel/downloaders/cifar10.py (13 issues)

Labels
Severity
1
from fuel.downloaders.base import default_downloader
0 ignored issues
show
There seems to be a cyclic import (fuel.datasets -> fuel.datasets.caltech101_silhouettes).

Cyclic imports may cause partly loaded modules to be returned. This might lead to unexpected runtime behavior which is hard to debug.

Loading history...
There seems to be a cyclic import (fuel.datasets -> fuel.datasets.cifar100).

Cyclic imports may cause partly loaded modules to be returned. This might lead to unexpected runtime behavior which is hard to debug.

Loading history...
There seems to be a cyclic import (fuel.datasets -> fuel.datasets.svhn).

Cyclic imports may cause partly loaded modules to be returned. This might lead to unexpected runtime behavior which is hard to debug.

Loading history...
There seems to be a cyclic import (fuel.datasets -> fuel.datasets.hdf5).

Cyclic imports may cause partly loaded modules to be returned. This might lead to unexpected runtime behavior which is hard to debug.

Loading history...
There seems to be a cyclic import (fuel.datasets -> fuel.datasets.dogs_vs_cats).

Cyclic imports may cause partly loaded modules to be returned. This might lead to unexpected runtime behavior which is hard to debug.

Loading history...
There seems to be a cyclic import (fuel.datasets -> fuel.datasets.celeba).

Cyclic imports may cause partly loaded modules to be returned. This might lead to unexpected runtime behavior which is hard to debug.

Loading history...
There seems to be a cyclic import (fuel.datasets -> fuel.datasets.adult).

Cyclic imports may cause partly loaded modules to be returned. This might lead to unexpected runtime behavior which is hard to debug.

Loading history...
There seems to be a cyclic import (fuel.datasets -> fuel.datasets.binarized_mnist).

Cyclic imports may cause partly loaded modules to be returned. This might lead to unexpected runtime behavior which is hard to debug.

Loading history...
There seems to be a cyclic import (fuel.datasets -> fuel.datasets.text).

Cyclic imports may cause partly loaded modules to be returned. This might lead to unexpected runtime behavior which is hard to debug.

Loading history...
There seems to be a cyclic import (fuel.datasets -> fuel.datasets.cifar10).

Cyclic imports may cause partly loaded modules to be returned. This might lead to unexpected runtime behavior which is hard to debug.

Loading history...
There seems to be a cyclic import (fuel.datasets -> fuel.datasets.mnist).

Cyclic imports may cause partly loaded modules to be returned. This might lead to unexpected runtime behavior which is hard to debug.

Loading history...
There seems to be a cyclic import (fuel.datasets -> fuel.datasets.billion).

Cyclic imports may cause partly loaded modules to be returned. This might lead to unexpected runtime behavior which is hard to debug.

Loading history...
There seems to be a cyclic import (fuel.datasets -> fuel.datasets.iris).

Cyclic imports may cause partly loaded modules to be returned. This might lead to unexpected runtime behavior which is hard to debug.

Loading history...
2
3
4
def fill_subparser(subparser):
5
    """Sets up a subparser to download the CIFAR-10 dataset file.
6
7
    The CIFAR-10 dataset file is downloaded from Alex Krizhevsky's
8
    website [ALEX].
9
10
    Parameters
11
    ----------
12
    subparser : :class:`argparse.ArgumentParser`
13
        Subparser handling the `cifar10` command.
14
15
    """
16
    url = 'http://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz'
17
    filename = 'cifar-10-python.tar.gz'
18
    subparser.set_defaults(urls=[url], filenames=[filename])
19
    return default_downloader
20