We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a2aa6e commit 431d1d7Copy full SHA for 431d1d7
1 file changed
cifar10.py
@@ -34,6 +34,7 @@
34
35
import numpy as np
36
import pickle
37
+import os
38
import download
39
from dataset import one_hot_encoded
40
@@ -86,7 +87,7 @@ def _get_file_path(filename=""):
86
87
If filename=="" then return the directory of the files.
88
"""
89
- return data_path + "cifar-10-batches-py/" + filename
90
+ return os.path.join(data_path, "cifar-10-batches-py/", filename)
91
92
93
def _unpickle(filename):
0 commit comments