Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

World age issue wtih read_pytorch #167

Closed
Dsantra92 opened this issue Sep 1, 2022 · 0 comments · Fixed by #170
Closed

World age issue wtih read_pytorch #167

Dsantra92 opened this issue Sep 1, 2022 · 0 comments · Fixed by #170
Assignees

Comments

@Dsantra92
Copy link
Collaborator

read_pytorch throws world age issues.

julia> MLDatasets.read_pytorch("train.pt")
ERROR: MethodError: no method matching THload(::String)
The applicable method may be too new: running in world age 32451, while current world is 32460.
Closest candidates are:
  THload(::AbstractString) at ~/.julia/packages/Pickle/pwvBM/src/torch/torch_load.jl:62 (method too new to be called from this world context.)
  THload(::Pickle.Torch.TorchPickler, ::Any) at ~/.julia/packages/Pickle/pwvBM/src/torch/torch_load.jl:66 (method too new to be called from this world context.)
Stacktrace:
 [1] read_pytorch(path::String)
   @ MLDatasets ~/MLDatasets.jl/src/io.jl:28
 [2] top-level scope
   @ REPL[2]:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant