wangkuiyi / recordio

Apache License 2.0
11 stars 2 forks source link

Add test-in-Docker for TensorFlow dataset convertion to RecordIO file #64

Closed wangkuiyi closed 5 years ago

wangkuiyi commented 5 years ago

This PR contributes a regression test, which is in the form of a Python unit test that converts TensorFlow's image-and-label datasets into RecordIO files and read back.

To build a Docker image that contains the dependencies of this test, run the following command at the root directory of the source tree.

docker build -t recordio:examples -f examples/Dockerfile .

To run the test, run the following command

docker run --rm -it -v $GOPATH:/go -w /go/src/github.com/wangkuiyi/recordio recordio:examples