Skip to content

Commit

Permalink
Refactoring, update quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
osmr committed May 11, 2019
1 parent 6e6f6c9 commit 5c1ba4b
Show file tree
Hide file tree
Showing 204 changed files with 239 additions and 239 deletions.
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/airnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def get_airnet(blocks,
ratio,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create AirNet model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/airnext.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def get_airnext(blocks,
ratio,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create AirNet model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/alexnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def __call__(self, x):

def get_alexnet(model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create AlexNet model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/bagnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def __call__(self, x):
def get_bagnet(field,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create BagNet model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/bamresnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def __call__(self, x):
def get_resnet(blocks,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create BAM-ResNet model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/bninception.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def __call__(self, x):

def get_bninception(model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create BN-Inception model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/cbamresnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def __call__(self, x):
def get_resnet(blocks,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create CBAM-ResNet model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/channelnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ def __call__(self, x):

def get_channelnet(model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create ChannelNet model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/condensenet.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def get_condensenet(num_layers,
groups=4,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create CondenseNet (converted) model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/darknet.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def __call__(self, x):
def get_darknet(version,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create DarkNet model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/darknet53.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def __call__(self, x):

def get_darknet53(model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create DarkNet model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/darts.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ def forward(self, x):

def get_darts(model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create DARTS model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/deeplabv3.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def get_deeplabv3(backbone,
aux=False,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create DeepLabv3 model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/densenet.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def __call__(self, x):
def get_densenet(blocks,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create DenseNet model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/densenet_cifar.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def get_densenet_cifar(classes,
bottleneck,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create DenseNet model for CIFAR-10 with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/diracnetv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def __call__(self, x):
def get_diracnetv2(blocks,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create DiracNetV2 model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/dla.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ def get_dla(levels,
residual_root=False,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create DLA model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/dpn.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def get_dpn(num_layers,
for_training=False,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create DPN model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/drn.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def get_drn(blocks,
simplified=False,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create DRN-C or DRN-D model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/espnetv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def __call__(self, x):
def get_espnetv2(width_scale,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create ESPNetv2 model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/fcn8sd.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def get_fcn8sd(backbone,
aux=False,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create FCN-8s(d) model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/fishnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ def __call__(self, x):
def get_fishnet(blocks,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create FishNet model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/igcv3.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def __call__(self, x):
def get_mobilenetv2(width_scale,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create IGCV3-D model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/inceptionresnetv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ def __call__(self, x):

def get_inceptionresnetv2(model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create InceptionResNetV2 model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/inceptionv3.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ def __call__(self, x):

def get_inceptionv3(model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create InceptionV3 model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/inceptionv4.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ def __call__(self, x):

def get_inceptionv4(model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create InceptionV4 model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/irevnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def inverse(self, out_bij):
def get_irevnet(blocks,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create i-RevNet model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/menet.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def get_menet(first_stage_channels,
groups,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create MENet model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/mnasnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ def __call__(self, x):

def get_mnasnet(model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create MnasNet model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/mobilenet.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def get_mobilenet(version,
width_scale,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create MobileNet or FD-MobileNet model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/mobilenetv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def __call__(self, x):
def get_mobilenetv2(width_scale,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create MobileNetV2 model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/nasnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@ def get_nasnet(repeat,
in_size,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create NASNet-A model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/nin_cifar.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def __call__(self, x):
def get_nin_cifar(classes,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create NIN model for CIFAR with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/octresnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ def get_octresnet(blocks,
width_scale=1.0,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create Oct-ResNet model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/peleenet.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def __call__(self, x):

def get_peleenet(model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create PeleeNet model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/pnasnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ def __call__(self, x):

def get_pnasnet(model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create PNASNet model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/polynet.py
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ def __call__(self, x):

def get_polynet(model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create PolyNet model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/preresnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def get_preresnet(blocks,
width_scale=1.0,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create PreResNet model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/preresnet_cifar.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def get_preresnet_cifar(classes,
bottleneck,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create PreResNet model for CIFAR with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/proxylessnas.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def __call__(self, x):
def get_proxylessnas(version,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create ProxylessNAS model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/pspnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def get_pspnet(backbone,
aux=False,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create PSPNet model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/pyramidnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def get_pyramidnet(blocks,
alpha,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create PyramidNet model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/pyramidnet_cifar.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def get_pyramidnet_cifar(classes,
bottleneck,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create PyramidNet for CIFAR model with specific parameters.
Expand Down
2 changes: 1 addition & 1 deletion chainer_/chainercv2/models/resattnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ def __call__(self, x):
def get_resattnet(blocks,
model_name=None,
pretrained=False,
root=os.path.join('~', '.chainer', 'models'),
root=os.path.join("~", ".chainer", "models"),
**kwargs):
"""
Create ResAttNet model with specific parameters.
Expand Down
Loading

0 comments on commit 5c1ba4b

Please sign in to comment.