dbf0fd7334d5866a8f575f3e024948d859db858f,src/symbols/fmobilefacenet.py,,get_symbol,#Any#,45
Before Change
conv_5 = Residual(conv_45, num_block=2, num_out=128, kernel=(3, 3), stride=(1, 1), pad=(1, 1), num_group=256, name="res_5")
conv_6_sep = Conv(conv_5, num_filter=512, kernel=(1, 1), pad=(0, 0), stride=(1, 1), name="conv_6sep")
conv_6_dw = Linear(conv_6_sep, num_filter=512, num_group=512, kernel=(7,7), pad=(0, 0), stride=(1, 1), name="conv_6dw7_7")
//conv_6_dw = mx.symbol.Dropout(data=conv_6_dw, p=0.4)
_weight = mx.symbol.Variable("fc1_weight", shape=(num_classes, 512), lr_mult=1.0, wd_mult=wd_mult)
After Change
global bn_mom
bn_mom = kwargs.get("bn_mom", 0.9)
wd_mult = kwargs.get("wd_mult", 1.)
version_output = kwargs.get("version_output", "GNAP")
assert version_output=="GDC" or version_output=="GNAP"
fc_type = version_output
data = mx.symbol.Variable(name="data")
data = data-127.5
data = data*0.0078125
conv_1 = Conv(data, num_filter=64, kernel=(3, 3), pad=(1, 1), stride=(2, 2), name="conv_1")
conv_2_dw = Conv(conv_1, num_group=64, num_filter=64, kernel=(3, 3), pad=(1, 1), stride=(1, 1), name="conv_2_dw")
conv_23 = DResidual(conv_2_dw, num_out=64, kernel=(3, 3), stride=(2, 2), pad=(1, 1), num_group=128, name="dconv_23")
conv_3 = Residual(conv_23, num_block=4, num_out=64, kernel=(3, 3), stride=(1, 1), pad=(1, 1), num_group=128, name="res_3")
conv_34 = DResidual(conv_3, num_out=128, kernel=(3, 3), stride=(2, 2), pad=(1, 1), num_group=256, name="dconv_34")
conv_4 = Residual(conv_34, num_block=6, num_out=128, kernel=(3, 3), stride=(1, 1), pad=(1, 1), num_group=256, name="res_4")
conv_45 = DResidual(conv_4, num_out=128, kernel=(3, 3), stride=(2, 2), pad=(1, 1), num_group=512, name="dconv_45")
conv_5 = Residual(conv_45, num_block=2, num_out=128, kernel=(3, 3), stride=(1, 1), pad=(1, 1), num_group=256, name="res_5")
conv_6_sep = Conv(conv_5, num_filter=512, kernel=(1, 1), pad=(0, 0), stride=(1, 1), name="conv_6sep")
fc1 = symbol_utils.get_fc1(conv_6_sep, num_classes, fc_type)
return fc1
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: deepinsight/insightface
Commit Name: dbf0fd7334d5866a8f575f3e024948d859db858f
Time: 2018-08-03
Author: guojia@gmail.com
File Name: src/symbols/fmobilefacenet.py
Class Name:
Method Name: get_symbol
Project Name: deepinsight/insightface
Commit Name: 57c14e7f131a851c7e94afd19dbc6f15ea1a0317
Time: 2018-08-03
Author: guojia@gmail.com
File Name: src/symbols/fmobilefacenet.py
Class Name:
Method Name: get_symbol
Project Name: dpressel/mead-baseline
Commit Name: 38c6a56381f2f93fd0fb819f81be26df86a6a0e1
Time: 2018-08-13
Author: dpressel@gmail.com
File Name: python/baseline/pytorch/seq2seq/model.py
Class Name: Seq2SeqAttnModel
Method Name: __init__