Created
March 19, 2021 12:11
-
-
Save Loliver1224/2c71018ec72e78f8596b2169256b6f79 to your computer and use it in GitHub Desktop.
pickle to jld converter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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