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

fix for symbol block import backward compatibility #591

Merged
merged 2 commits into from
Jan 31, 2020

Conversation

canerturkmen
Copy link
Contributor

Issue #, if available: #589

Description of changes:
Just falls back to business as usual if the format json file is not where it's supposed to be, ensuring that previously persisted models can still be imported without a FileNotFoundError.

Also, added the mxnet issue reference since we'll eventually have to get rid of this when mxnet starts handling it.

Thanks @lostella for pointing this out so quickly.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov-io
Copy link

codecov-io commented Jan 31, 2020

Codecov Report

Merging #591 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #591   +/-   ##
=======================================
  Coverage   83.73%   83.73%           
=======================================
  Files         181      181           
  Lines       10324    10324           
=======================================
  Hits         8645     8645           
  Misses       1679     1679
Impacted Files Coverage Δ
src/gluonts/block/cnn.py 56.41% <ø> (ø) ⬆️

@lostella lostella added this to the v0.5 milestone Jan 31, 2020
Copy link
Contributor

@lostella lostella left a comment

Choose a reason for hiding this comment

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

Thanks!

@canerturkmen canerturkmen merged commit 6f0c16a into awslabs:master Jan 31, 2020
@canerturkmen canerturkmen deleted the fix_symb_import_compat branch January 31, 2020 13:37
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.

3 participants