Skip to content

Instantly share code, notes, and snippets.

@Loliver1224
Created March 19, 2021 12:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Loliver1224/2c71018ec72e78f8596b2169256b6f79 to your computer and use it in GitHub Desktop.
Save Loliver1224/2c71018ec72e78f8596b2169256b6f79 to your computer and use it in GitHub Desktop.
pickle to jld converter
using PyCall, JLD
py"""
import pickle
with open("filename.pkl", 'rb') as f:
data = pickle.load(f)
"""
data = py"data"
save("file.jld", data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment