Created
January 24, 2018 19:34
-
-
Save tbenst/8efe65c10f50dc5166a88f9d443989e0 to your computer and use it in GitHub Desktop.
Python2 pickle -> Julia jld
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 | |
@pyimport pickle as pkl | |
@pywith pybuiltin("open")("trained_mnist_model","rb") as f begin | |
global cpts = pkl.load(f) | |
end | |
save("trained_mnist_model.jld", "data", cpts) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment