Skip to content

Commit cedb9ad

Browse files
attempting some factorization
1 parent 34ae3e1 commit cedb9ad

File tree

12 files changed

+87
-439
lines changed

12 files changed

+87
-439
lines changed

src/FashionMNIST/FashionMNIST.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ module FashionMNIST
2121

2222
const DEFAULT_DIR = abspath(joinpath(dirname(@__FILE__), "..", "..", "datasets", "fashion_mnist"))
2323

24-
include(joinpath("Reader","Reader.jl"))
25-
import .Reader.download_helper
24+
include("reader.jl")
2625
include("interface.jl")
2726
include(joinpath("..", "MNIST", "utils.jl"))
28-
29-
Reader.download_helper(; nargs...) = Reader.download_helper(DEFAULT_DIR; nargs...)
3027
end

src/FashionMNIST/Reader/Reader.jl

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/FashionMNIST/Reader/download.jl

Lines changed: 0 additions & 69 deletions
This file was deleted.

src/FashionMNIST/Reader/readheader.jl

Lines changed: 0 additions & 56 deletions
This file was deleted.

src/FashionMNIST/Reader/readimages.jl

Lines changed: 0 additions & 112 deletions
This file was deleted.

src/FashionMNIST/Reader/readlabels.jl

Lines changed: 0 additions & 94 deletions
This file was deleted.

src/FashionMNIST/reader.jl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import ..MNIST.Reader
2+
3+
Reader.set_msg_prompt("""
4+
Dataset: THE FashionMNIST DATABASE of fashion products
5+
Authors: Han Xiao, Kashif Rasul, Roland Vollgraf
6+
Website: https://github.com/zalandoresearch/fashion-mnist
7+
8+
Paper: Han Xiao, Kashif Rasul, Roland Vollgraf "Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms."
9+
10+
The files are available for download at the offical website linked above.
11+
""")
12+
13+
Reader.set_baseurl("http://fashion-mnist.s3-website.eu-central-1.amazonaws.com/")

src/MLDatasets.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
module MLDatasets
22

3+
include("io/download.jl")
34
include("io/CoNLL.jl")
45

56
include("CIFAR10.jl")

0 commit comments

Comments
 (0)