Skip to content

Commit

Permalink
Update to Chainer 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hvy committed Nov 22, 2017
1 parent a59a905 commit 23a5cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/models/vgg.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def feature_map_activations(self, x):

# Disable cuDNN, else pooling indices will not be stored
with chainer.using_config('use_cudnn', 'never'):
h = mp(h)
h = mp.apply((h,))[0]
hs.append(h)

return hs, pre_pooling_sizes
Expand Down

0 comments on commit 23a5cfb

Please sign in to comment.