FluxML / fluxml.github.io

Flux Website
https://fluxml.ai
MIT License
20 stars 45 forks source link

Outdated DataLoader tutorial #147

Closed CarloLucibello closed 1 year ago

CarloLucibello commented 1 year ago

The [Dataloader documentation] points to a tutorial page, https://fluxml.ai/tutorials/2021/01/21/data-loader.html, which is a bit outdated. In particular, the old MLDatasets.jl interface is used

x, y = MNIST.traindata(Float32)
dataloader = DataLoader((x, y))

instead of the new one

x, y = MNIST()[:]
dataloader = DataLoader((x, y))
Saransh-cpp commented 1 year ago

@CarloLucibello could you move this issue to https://github.com/FluxML/fluxml.github.io? The tutorial originates from there and https://github.com/FluxML/fluxml.github.io/pull/146 should close this!

CarloLucibello commented 1 year ago

Closed in #146