Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

use kwargs for ResBlock in pspnet #686

Merged
merged 1 commit into from
Sep 13, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions chainercv/experimental/links/model/pspnet/pspnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,16 @@ def __init__(self, n_layer, initialW, bn_kwargs=None):
x, ksize=3, stride=2, pad=1)
self.res2 = ResBlock(
n_block[0], 128, 64, 256, 1, 1,
initialW, bn_kwargs, stride_first=False)
initialW=initialW, bn_kwargs=bn_kwargs, stride_first=False)
self.res3 = ResBlock(
n_block[1], 256, 128, 512, 2, 1,
initialW, bn_kwargs, stride_first=False)
initialW=initialW, bn_kwargs=bn_kwargs, stride_first=False)
self.res4 = ResBlock(
n_block[2], 512, 256, 1024, 1, 2,
initialW, bn_kwargs, stride_first=False)
initialW=initialW, bn_kwargs=bn_kwargs, stride_first=False)
self.res5 = ResBlock(
n_block[3], 1024, 512, 2048, 1, 4,
initialW, bn_kwargs, stride_first=False)
initialW=initialW, bn_kwargs=bn_kwargs, stride_first=False)


class PSPNet(chainer.Chain):
Expand Down