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

TL compatibility and code readabality #14

Merged
merged 2 commits into from
Oct 5, 2018

Conversation

pskrunner14
Copy link
Contributor

@pskrunner14 pskrunner14 commented Oct 4, 2018

  • Made code compatible with TL1.10.1 and TF1.10.0.
  • Removed out size and batch_size from DeConv2D layers since they're no longer needed.
  • Replaced tl.act.lrelu with tf.nn.leaky_relu since former is deprecated.
  • Replaced tl.layers.initialize_global_variables with tf.global_variables_initializer since former is deprecated.
  • Changed flag train_size dtype from int to float due to an error.
  • Impoved code readability and removed redundant comments and code.
  • Removed pprint in favour of custom logging the flags since pprint was'nt able to access flag values.
  • Fixed wildcard imports and removed unused ones.
  • Updated main module doc.
  • Removed tensorlayer package from root dir since it is installed on system.

Note: Fixes #9 and #12.

@zsdonghao zsdonghao merged commit d22f5d7 into tensorlayer:master Oct 5, 2018
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