Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Commit cf54036

Browse files
authored
Correcting Batcher-based downloading to make sure download directory is labeled as such. (#342)
1 parent 070bca7 commit cf54036

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Datasets/Imagenette/Imagenette.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public struct ImagenetteBatchers {
178178
public init(
179179
inputSize: Imagenette.ImageSize, outputSize: Int, batchSize: Int = 64, numWorkers: Int = 8,
180180
localStorageDirectory: URL = FileManager.default.temporaryDirectory.appendingPathComponent(
181-
"Imagenette")
181+
"Imagenette", isDirectory: true)
182182
) {
183183
do {
184184
let trainUrls = try exploreDirectory(
@@ -217,4 +217,4 @@ public struct ImagenetteBatchers {
217217
fatalError("Could not load Imagenette dataset: \(error)")
218218
}
219219
}
220-
}
220+
}

0 commit comments

Comments
 (0)