two bugs?
zem007 opened this issue · 2 comments
zem007 commented
I found two issues in the process of running the codes.
-
Model.py (line#: 66), it should be 'def batch_norm(self, x, training, name)'?
-
Model.py (line#: 229), it should be
'x = self.dense_block(x, training, block_nb - 1, 'up_dense_block_' + str(block_nb))' ?
HasnainRaz commented
-
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.
-
The for loop already starts with block_nb - 1, so there is no need to that in the method call.
zem007 commented
thank you!