cbe74d45900c5236bed03e1affbf225c725757e5,darkflow/net/yolov2/predict.py,,postprocess,#,26

Before Change


	// Removing trailing comma+newline adding json list terminator.
	textBuff = textBuff[:-2] + "]"
	outfolder = os.path.join(self.FLAGS.imgdir, "out")
	img_name = os.path.join(outfolder, im.split("/")[-1])
	if self.FLAGS.json:
		textFile = os.path.splitext(img_name)[0] + ".json"
		with open(textFile, "w") as f:

After Change


	// Removing trailing comma+newline adding json list terminator.
	textBuff = textBuff[:-2] + "]"
	outfolder = os.path.join(self.FLAGS.imgdir, "out")
	img_name = os.path.join(outfolder, os.path.basename(im))
	if self.FLAGS.json:
		textFile = os.path.splitext(img_name)[0] + ".json"
		with open(textFile, "w") as f:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: thtrieu/darkflow
Commit Name: cbe74d45900c5236bed03e1affbf225c725757e5
Time: 2017-05-20
Author: abagshaw@hotmail.ca
File Name: darkflow/net/yolov2/predict.py
Class Name:
Method Name: postprocess


Project Name: thtrieu/darkflow
Commit Name: cbe74d45900c5236bed03e1affbf225c725757e5
Time: 2017-05-20
Author: abagshaw@hotmail.ca
File Name: darkflow/net/yolo/predict.py
Class Name:
Method Name: postprocess


Project Name: eriklindernoren/PyTorch-YOLOv3
Commit Name: c5a8a6d3e2976b0b054acb2e8ce6042a3b3a9757
Time: 2020-09-20
Author: czk6@qq.com
File Name: detect.py
Class Name:
Method Name:


Project Name: layumi/Person_reID_baseline_pytorch
Commit Name: efae171ad08accc46940fbbb901170fcf33fc2ce
Time: 2018-07-05
Author: Zhedong.Zheng@student.uts.edu.au
File Name: test.py
Class Name:
Method Name: get_id