234ed9457aa8bdaf10fd46b75e794eeae29bbc87,main_chips.py,,,#,34

Before Change


	eval_metric = metric.RCNNAccMetric(config)
	cls_metric  = metric.RCNNLogLossMetric(config)
	bbox_metric = metric.RCNNL1LossCRCNNMetric(config)
	eval_metrics = mx.metric.CompositeEvalMetric()
	eval_metrics.add(eval_metric)
	eval_metrics.add(cls_metric)
	eval_metrics.add(bbox_metric) 


	eval_metrics = mx.metric.CompositeEvalMetric()

After Change


	sym_inst.infer_shape(shape_dict)
	arg_params, aux_params = load_param(config.network.pretrained,config.network.pretrained_epoch,convert=True)

	narg_params = {}
	naux_params = {}
	for name in arg_params:
		narg_params["f_" + name] = arg_params[name]
	for name in aux_params:
		naux_params["f_" + name] = aux_params[name]

	arg_params = dict(arg_params.items() + narg_params.items())
	aux_params = dict(aux_params.items() + naux_params.items())
 

	sym_inst.init_weight_rcnn(config,arg_params,aux_params)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: mahyarnajibi/SNIPER
Commit Name: 234ed9457aa8bdaf10fd46b75e794eeae29bbc87
Time: 2018-03-17
Author: mahyarnajibi@gmail.com
File Name: main_chips.py
Class Name:
Method Name:


Project Name: soft-matter/trackpy
Commit Name: 83d1a46c72c12f8140d5232de59097d894d9d5f7
Time: 2013-01-22
Author: daniel.b.allan@gmail.com
File Name: mr/fitting.py
Class Name:
Method Name: NLS


Project Name: onnx/onnx-coreml
Commit Name: 7f7a30cae66e7d65917ceea966225292f582d809
Time: 2019-10-04
Author: bhushan.s.94@gmail.com
File Name: onnx_coreml/_transformers.py
Class Name: DeadCodeElimination
Method Name: __call__