Powered by AppSignal & Oban Pro
Would you like to see your link here? Contact us

MNIST

examples/mnist.livemd

MNIST

Mix.install([
  {:req_s3, "~> 0.2.3"}
])

Setup

req =
  Req.new()
  |> ReqS3.attach()

List Objects

%{status: 200, body: body} = Req.get!(req, url: "s3://ossci-datasets")
body["ListBucketResult"]["Contents"]

Get Object

%{status: 200, body: body} = Req.get!(req, url: "s3://ossci-datasets/mnist/t10k-images-idx3-ubyte.gz")
body