b21b48e6400b113ec9b7255e9091f68ff281f212,labelImg.py,,get_main_app,#Any#,1500
Before Change
argv[2] if len(argv) >= 3 else os.path.join(
os.path.dirname(sys.argv[0]),
"data", "predefined_classes.txt"),
argv[3] if len(argv) >= 4 else None)
win.show()
return app, win
After Change
app.setApplicationName(__appname__)
app.setWindowIcon(newIcon("app"))
// Tzutalin 201705+: Accept extra agruments to change predefined class file
argparser = argparse.ArgumentParser()
argparser.add_argument("image_dir", nargs="?")
argparser.add_argument("predefined_classes_file",
default=os.path.join(
os.path.dirname(argv[0]),
"data", "predefined_classes.txt"),
nargs="?")
argparser.add_argument("save_dir", nargs="?")
args = argparser.parse_args(argv[1:])
// Usage : labelImg.py image predefClassFile saveDir
win = MainWindow(args.image_dir,
args.predefined_classes_file,
args.save_dir)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: tzutalin/labelImg
Commit Name: b21b48e6400b113ec9b7255e9091f68ff281f212
Time: 2020-08-01
Author: laszlo.treszkai@abacus.ac
File Name: labelImg.py
Class Name:
Method Name: get_main_app
Project Name: tensorlayer/tensorlayer
Commit Name: a0d0c18fcde09f06be9ca1556052cf8064df4ac6
Time: 2019-06-09
Author: 1402434478@qq.com
File Name: examples/reinforcement_learning/tutorial_A3C.py
Class Name:
Method Name:
Project Name: ray-project/ray
Commit Name: baa053496a78bbb89279847277e49242f721af0e
Time: 2020-05-26
Author: sven@anyscale.io
File Name: rllib/tests/run_regression_tests.py
Class Name:
Method Name: