DeepLearning-Image icon indicating copy to clipboard operation
DeepLearning-Image copied to clipboard

Programmatic full path to data

Open jrfiedler opened this issue 9 years ago • 1 comments

In the notebooks that need the full path to a dataset, you could do something like this

import os

path_to_data = os.path.abspath(os.path.join('..', 'data', 'mnist.pkl.gz'))

jrfiedler avatar Jul 11 '16 14:07 jrfiedler

Thanks. I learnt something new today. 👍

rouseguy avatar Jul 12 '16 00:07 rouseguy