Operating environment
GeForce GTX 1070 (8GB)
ASRock Z170M Pro4S [Intel Z170chipset]
Ubuntu 14.04 LTS desktop amd64
TensorFlow v0.11
cuDNN v5.1 for Linux
CUDA v8.0
Python 2.7.6
IPython 5.1.0 -- An enhanced Interactive Python.
Learning the Deep Learning framework TensorFlow.
https://ischlag.github.io/2016/06/19/tensorflow-input-pipeline-example/
There was an example of converting a relative file path to an absolute file path for a Python list above, so I'll post it for future reference.
python_001.py
dataset_path = "/AAA/BBB/CCC/"
train_filepaths = [ "test.dat", "test.csv", "test.exe" ]
all_filepaths = [ dataset_path + fp for fp in train_filepaths ]
print(all_filepaths)
result
$ python python_001.py
['/AAA/BBB/CCC/test.dat', '/AAA/BBB/CCC/test.csv', '/AAA/BBB/CCC/test.exe']
Recommended Posts