Skip to content

Commit

Permalink
some minor change related to evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
ironfist2 committed May 14, 2018
1 parent 0308062 commit dbbe914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layers.py
Expand Up @@ -113,7 +113,7 @@ def _reach_stage(self, stage):

@property
def lasso_loss(self):
if self._at_stage(self.groups - 1):
if self._reach_stage(self.groups - 1):
return 0
weight = self.conv.weight * self.mask
### Assume only apply to 1x1 conv to speed up
Expand Down

0 comments on commit dbbe914

Please sign in to comment.