00c06ff2b04c3c991b6fbe1281ff3eede9ca4f94,gluon/gluoncv2/models/darknet.py,DarkNet,__init__,#DarkNet#Any#Any#Any#Any#Any#Any#Any#,156
Before Change
kernel_size=1,
in_channels=in_channels))
if cls_activ:
self.output.add(nn.LeakyReLU(alpha=0.1))
self.output.add(nn.AvgPool2D(
pool_size=avg_pool_size,
strides=1))
After Change
def darknet_tiny(**kwargs):
DarkNet Tiny model from "Darknet: Open source neural networks in c," https://github.com/pjreddie/darknet.
Parameters:
----------
pretrained : bool, default False
Whether to load the pretrained weights for model.
ctx : Context, default CPU
The context in which to load the pretrained weights.
root : str, default "~/.mxnet/models"
Location for keeping the model parameters.
return get_darknet(version="tiny", model_name="darknet_tiny", **kwargs)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances
Project Name: osmr/imgclsmob
Commit Name: 00c06ff2b04c3c991b6fbe1281ff3eede9ca4f94
Time: 2018-10-29
Author: osemery@gmail.com
File Name: gluon/gluoncv2/models/darknet.py
Class Name: DarkNet
Method Name: __init__
Project Name: osmr/imgclsmob
Commit Name: 8d09be67f6fa89ac357640c688ed70f4f719173f
Time: 2019-01-03
Author: osemery@gmail.com
File Name: gluon/gluoncv2/models/common.py
Class Name: ConvBlock
Method Name: __init__
Project Name: eriklindernoren/PyTorch-GAN
Commit Name: 61228f3243eaee39cba31a9abd2afc6ead9612a8
Time: 2018-05-04
Author: eriklindernoren@gmail.com
File Name: implementations/cyclegan/models.py
Class Name: UNetDown
Method Name: __init__
Project Name: Zhaoyi-Yan/Shift-Net_pytorch
Commit Name: dc9aafd83851f7c55c6fe61702e281856ec023ca
Time: 2018-12-13
Author: yanzhaoyi@outlook.com
File Name: models/modules/shift_unet.py
Class Name: InceptionUnetSkipConnectionBlock
Method Name: __init__