Skip to content

Commit

Permalink
Typo in densenet
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-mingjie committed Nov 18, 2018
1 parent ccc80d1 commit 98e6b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/densenet.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def __init__(self, depth=40,
if cfg == None:
cfg = []
start = growthRate*2
for i in range(3):
for _ in range(3):
cfg.append([start + growthRate*i for i in range(n+1)])
start += growthRate*n
cfg = [item for sub_list in cfg for item in sub_list]
Expand Down

0 comments on commit 98e6b4d

Please sign in to comment.