rouseguy/DeepLearning-Image

Programmatic full path to data

Opened this issue · 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'))

Thanks. I learnt something new today. 👍