]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/machine-learning/data-sets/data-sets.factor
http.download: fix downloading into a directory if it didnt exist
[factor.git] / extra / machine-learning / data-sets / data-sets.factor
index 8de52112510cdea90acec6a7431e11947d675716..61daf8e33c7390ead14ee36f17a69968fca2b07e 100644 (file)
@@ -98,7 +98,7 @@ CONSTANT: datasets-path "resource:datasets/"
             "https://github.com/golbin/TensorFlow-MNIST/raw/master/mnist/data/t10k-images-idx3-ubyte.gz"
             "https://github.com/golbin/TensorFlow-MNIST/raw/master/mnist/data/t10k-labels-idx1-ubyte.gz"
         }
-        [ [ download-once ] parallel-each ]
+        [ [ download-once-into ] parallel-each ]
         [ [ dup file-stem file-exists? [ drop ] [ file-name gzip-decompress-file ] if ] each ]
         [ [ file-stem binary file-contents ] map ] tri
         first4 {