We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35e8bf6 commit 8f22c79Copy full SHA for 8f22c79
Project.toml
@@ -19,7 +19,7 @@ DataAugmentation = "88a5189c-e7ff-4f85-ac6b-e6158070f02e"
19
ImageNetDatasetDataAugmentationExt = "DataAugmentation"
20
21
[compat]
22
-DataAugmentation = "0.2"
+DataAugmentation = "0.3"
23
DataDeps = "0.7"
24
ImageCore = "0.10"
25
JpegTurbo = "0.1"
src/imagenet.jl
@@ -147,7 +147,7 @@ function ImageNet(
147
elseif split == :test
148
paths = get_file_paths(joinpath(root_dir, test_dir))
149
@assert length(paths) == TESTSET_SIZE
150
- else
+ else
151
throw(ArgumentError("Unknown split :$split"))
152
end
153
targets = [metadata["wnid_to_label"][wnid] for wnid in get_wnids(paths)]
0 commit comments