Skip to content

[BUG] AlexNet, ResNet scripts of TensorFlow use wrong data path #23

@shishaochen

Description

@shishaochen

From tools/tensorflowbm6_gpu21.config and http://dlbench.comp.hkbu.edu.hk/, we know dlbench of version 8 will call alexnet and resnet for CNN tests.
But, Cifar10 experiments won't succeed as the data path is wrong in scritps.

# From tools/tensorflow/cnn/alexnet/alexnet_cifar10.py and tools/tensorflow/cnn/resnet/resnet_cifar10.py
tf.app.flags.DEFINE_string('data_dir', os.environ['HOME']+'/data/tensorflow/cifar10/cifar-10-batches-bin', """Data directory""")

I manually download the data file tensorflow.zip and make a test. The correct path should be:
~/data/tensorflow/cifar10/cifar-10-batches-py
By the way, if will be appreciated if you can dynamically set the data path instead of using user home directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions