-
Notifications
You must be signed in to change notification settings - Fork 110
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
Switch to JLD2. #414
Switch to JLD2. #414
Conversation
@@ -18,7 +18,7 @@ Then call the `save` method to save your variables: | |||
train.save(saver, session, "/path/to/variable_file") | |||
``` | |||
|
|||
The newly-created "variable_file" is a [JLD](https://github.com/JuliaIO/JLD.jl) file that contains a mapping from variable names to their values. The value of variables can later be restored in a new Julia session with | |||
The newly-created "variable_file" is a [JLD2](https://github.com/simonster/JLD2.jl) file that contains a mapping from variable names to their values. The value of variables can later be restored in a new Julia session with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The variable file is still a JLD file.
It is just being processed and generated with JLD2.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, can JLD2 load a file saved with JLD1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was my understanding yes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah apparently not
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ignore me
This will be less breaky avoiding #407 and similar |
Codecov Report
@@ Coverage Diff @@
## master #414 +/- ##
==========================================
+ Coverage 63.55% 67.34% +3.79%
==========================================
Files 50 51 +1
Lines 2895 3418 +523
==========================================
+ Hits 1840 2302 +462
- Misses 1055 1116 +61
Continue to review full report at Codecov.
|
We should really have a test for this. |
Do we want to switch to BSON.jl instead? |
Oh ya, why not? It will probably be maintained better going forward, if nothing else. I did a quick check and they same to use the same amount of space for storing our files. |
If this passes, lets merge it. |
No description provided.