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

Resolved most deprecation warnings #83

Merged
merged 3 commits into from
Jul 25, 2019

Conversation

charliekmorris
Copy link
Contributor

I hate hiding warnings/errors but these ones were driving me crazy, so I went through and fixed up all the deprecation warnings I could find. There's still two (that I found) out there that I couldn't figure out how to fix, but this clears up most of them.

@charliekmorris charliekmorris changed the title Squashed as many dep. warnings as I could Resolved most deprecation warnings Jul 7, 2019
@minimaxir
Copy link
Owner

Does fixing these depreciations allow TF 2.0 to load the package? I'll have to test that.

Thanks for this! This is extremely helpful :)

@charliekmorris
Copy link
Contributor Author

As it stands I think not, but let me play with it a bit, I may be able to get that running

@charliekmorris
Copy link
Contributor Author

I've added a few more changes to make it closer to v 2.0 compatible, but it's not quite there yet. All of tf.contrib has been deprecated including HParams which you use fairly heavily, removing that will take some more dramatic code rewriting

@charliekmorris
Copy link
Contributor Author

This one is over my head but it's an issue tensorflow is aware of. It's an issue being tracked here: tensorflow/tensorflow#30418

@minimaxir
Copy link
Owner

Nonpythonic implementations are fine.

I'll give this a test and merge when I can! (this is a big enough change to bump to 0.6.0)

@minimaxir minimaxir merged commit 7621b10 into minimaxir:master Jul 25, 2019
@minimaxir
Copy link
Owner

LGTM in my testing. It doesn't appear anything's broken.

Yes, it's not fully 2.0 compatible, but this is a big step! Thanks! I'll keep an eye on that issue and see if there's a workaround.

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.

2 participants