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

Switch to JLD2. #414

Merged
merged 2 commits into from
Aug 22, 2018
Merged

Switch to JLD2. #414

merged 2 commits into from
Aug 22, 2018

Conversation

malmaud
Copy link
Owner

@malmaud malmaud commented Jul 6, 2018

No description provided.

@malmaud malmaud requested a review from oxinabox as a code owner July 6, 2018 02:25
@@ -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
Copy link
Collaborator

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.

Copy link
Owner Author

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?

Copy link
Collaborator

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.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah apparently not

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ignore me

@oxinabox
Copy link
Collaborator

oxinabox commented Jul 6, 2018

This will be less breaky avoiding #407 and similar

@codecov
Copy link

codecov bot commented Jul 6, 2018

Codecov Report

Merging #414 into master will increase coverage by 3.79%.
The diff coverage is n/a.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
src/train.jl 73.61% <ø> (ø) ⬆️
src/TensorFlow.jl 62.5% <0%> (-2.21%) ⬇️
src/version.jl 82.69% <0%> (ø)
src/ops/nn.jl 54.7% <0%> (+0.95%) ⬆️
src/core.jl 82.58% <0%> (+5.3%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 459b545...719a186. Read the comment docs.

@oxinabox
Copy link
Collaborator

oxinabox commented Jul 6, 2018

We should really have a test for this.

@oxinabox
Copy link
Collaborator

oxinabox commented Jul 6, 2018

Do we want to switch to BSON.jl instead?

@malmaud
Copy link
Owner Author

malmaud commented Jul 6, 2018

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.

@oxinabox
Copy link
Collaborator

oxinabox commented Aug 22, 2018

If this passes, lets merge it.
Can switch to BSON later
I just poked the CI.

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 this pull request may close these issues.

None yet

2 participants