fdc5ba0874f3c978d185f86c67f815527f9afa6f,main.py,,,#,30

Before Change



keras.backend.tensorflow_backend.set_session(get_session())

model_path = os.path.join(".", "snapshots", "resnet50_coco_best_v2.1.0.h5")

model = models.load_model(model_path, backbone_name="resnet50")
// print(model.summary())

// load label to names mapping for visualization purposes
labels_to_names = {0: "person", 1: "bicycle", 2: "car", 3: "motorcycle", 4: "airplane", 5: "bus", 6: "train",

After Change


            self.objectListBox.itemconfig(len(self.bboxIdList) - 1, fg=config.COLORS[(len(self.bboxIdList) - 1) % len(config.COLORS)])


if __name__ == "__main__":
    root = Tk()
    imgicon = PhotoImage(file="icon.png")
    root.tk.call("wm", "iconphoto", root._w, imgicon)
    tool = MainGUI(root)
    root.mainloop()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: virajmavani/semi-auto-image-annotation-tool
Commit Name: fdc5ba0874f3c978d185f86c67f815527f9afa6f
Time: 2018-05-25
Author: vishalscience75@gmail.com
File Name: main.py
Class Name:
Method Name:


Project Name: daniel-kukiela/nmt-chatbot
Commit Name: 4a3c7ac04d2dfad89681099658a1f5c05858ce19
Time: 2019-09-18
Author: daniel@kukiela.pl
File Name: inference.py
Class Name:
Method Name: do_inference


Project Name: DenisTome/Lifting-from-the-Deep-release
Commit Name: 70f229dde624412adb0bc466b4eee4929fcc1d91
Time: 2017-07-13
Author: dario.turchi@ocado.com
File Name: demo.py
Class Name:
Method Name: