860dc3903f01527b9fa57d50da63910c4cea6c2f,src/model/model.py,Model,__init__,#Model#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,28
Before Change
// params_load.append(param)
//else:
// params_init.append(param)
if "running" in param.name or (("conv" in param.name or "batch" in param.name) and ("Ada" not in param.name)) or "BiRNN" in param.name or "attention" in param.name:
params_load.append(param)
else:
params_init.append(param)
self.saver_all = tf.train.Saver(tf.all_variables())
//self.saver = tf.train.Saver(list(set(tf.all_variables())-set(params_add)))
self.saver = tf.train.Saver(params_load)
init_new_vars_op = tf.initialize_variables(params_init)
After Change
if "BiRNN" in name:
name = name.replace("BiRNN/", "BiRNN_")
if ":0" in name:
name = name.replace(":0", "")
params_dict[name] = param
//if "Adadelta" in param.name and ("batch" in param.name or "conv" in param.name):
// params_add.append(param)
//if not "BiRNN" in param.name:
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances Project Name: emedvedev/attention-ocr
Commit Name: 860dc3903f01527b9fa57d50da63910c4cea6c2f
Time: 2016-11-13
Author: ubuntu@ip-172-31-22-240.us-west-2.compute.internal
File Name: src/model/model.py
Class Name: Model
Method Name: __init__
Project Name: lanpa/tensorboardX
Commit Name: 5619f0a742cfee882b51b6798215362e227c2732
Time: 2018-04-28
Author: huang.dexter@gmail.com
File Name: tensorboardX/graph.py
Class Name:
Method Name: parse
Project Name: fizyr/keras-retinanet
Commit Name: 633702f3f411198f777c14e90b8201151e5b886a
Time: 2018-02-22
Author: lacatusu.valeriu@gmail.com
File Name: keras_retinanet/models/resnet.py
Class Name:
Method Name: download_imagenet
Project Name: evilsocket/pwnagotchi
Commit Name: 2f948306ebeabf10050bb0c07a3254b420c30751
Time: 2019-11-01
Author: evilsocket@gmail.com
File Name: pwnagotchi/plugins/__init__.py
Class Name:
Method Name: load_from_path