JuliaML / MLDatasets.jl

Utility package for accessing common Machine Learning datasets in Julia
https://juliaml.github.io/MLDatasets.jl/stable
MIT License
228 stars 47 forks source link

METRLA dataset not working #237

Closed CarloLucibello closed 3 months ago

CarloLucibello commented 3 months ago

cc @aurorarossi

julia> using MLDatasets

julia> METRLA()
ERROR: ArgumentError: No file exists at given path: /Users/carlo/.julia/scratchspaces/124859b0-ceae-595e-8997-d05f6a7a8dfe/datadeps/METRLA/METRLA.jld2
Stacktrace:
 [1] checkpath_load
   @ ~/.julia/packages/FileIO/xOKyx/src/loadsave.jl:167 [inlined]
 [2] load(file::String, args::String; options::@Kwargs{})
   @ FileIO ~/.julia/packages/FileIO/xOKyx/src/loadsave.jl:110
 [3] load
   @ ~/.julia/packages/FileIO/xOKyx/src/loadsave.jl:109 [inlined]
 [4] read_traffic(d::String, dname::String)
   @ MLDatasets ~/.julia/packages/MLDatasets/rObys/src/datasets/graphs/traffic.jl:21
 [5] processed_traffic(dname::String, num_timesteps::Int64, dir::Nothing, normalize::Bool)
   @ MLDatasets ~/.julia/packages/MLDatasets/rObys/src/datasets/graphs/traffic.jl:40
 [6] METRLA(; num_timesteps::Int64, dir::Nothing, normalize::Bool)
   @ MLDatasets ~/.julia/packages/MLDatasets/rObys/src/datasets/graphs/metrla.jl:31
 [7] METRLA()
   @ MLDatasets ~/.julia/packages/MLDatasets/rObys/src/datasets/graphs/metrla.jl:30
 [8] top-level scope
   @ REPL[3]:1
CarloLucibello commented 3 months ago

seems to be solved after deleting the scratchspaces