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

two bugs? #10

Closed
zem007 opened this issue Oct 16, 2018 · 2 comments
Closed

two bugs? #10

zem007 opened this issue Oct 16, 2018 · 2 comments

Comments

@zem007
Copy link

zem007 commented Oct 16, 2018

I found two issues in the process of running the codes.

  1. Model.py (line#: 66), it should be 'def batch_norm(self, x, training, name)'?

  2. Model.py (line#: 229), it should be
    'x = self.dense_block(x, training, block_nb - 1, 'up_dense_block_' + str(block_nb))' ?

@HasnainRaz
Copy link
Owner

  1. batch_norm is a static method (you can see the @staticmethod decorator on top of it), which means it doesn't require the self argument.

  2. The for loop already starts with block_nb - 1, so there is no need to that in the method call.

@zem007
Copy link
Author

zem007 commented Oct 17, 2018

thank you!

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

No branches or pull requests

2 participants